Unverified Commit 49405135 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Update macOS gallery display name (#113658)

parent 9064bf67
...@@ -6,5 +6,5 @@ import 'package:flutter_devicelab/framework/framework.dart'; ...@@ -6,5 +6,5 @@ import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/tasks/hot_mode_tests.dart'; import 'package:flutter_devicelab/tasks/hot_mode_tests.dart';
Future<void> main() async { Future<void> main() async {
await task(createHotModeTest(deviceIdOverride: 'macos')); await task(createHotModeTest(deviceIdOverride: 'macos', checkAppRunningOnLocalDevice: true));
} }
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
31E9DDB21E0B961FFC0E8ADA /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; }; 31E9DDB21E0B961FFC0E8ADA /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; }; 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; }; 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
33CC10ED2044A3C60003C045 /* flutter_gallery.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = flutter_gallery.app; sourceTree = BUILT_PRODUCTS_DIR; }; 33CC10ED2044A3C60003C045 /* Flutter Gallery.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Flutter Gallery.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; }; 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; }; 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
33CC10EE2044A3C60003C045 /* Products */ = { 33CC10EE2044A3C60003C045 /* Products */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
33CC10ED2044A3C60003C045 /* flutter_gallery.app */, 33CC10ED2044A3C60003C045 /* Flutter Gallery.app */,
F7BDBB0B26E829B700DE9315 /* RunnerTests.xctest */, F7BDBB0B26E829B700DE9315 /* RunnerTests.xctest */,
); );
name = Products; name = Products;
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
); );
name = Runner; name = Runner;
productName = Runner; productName = Runner;
productReference = 33CC10ED2044A3C60003C045 /* flutter_gallery.app */; productReference = 33CC10ED2044A3C60003C045 /* Flutter Gallery.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
F7BDBB0A26E829B700DE9315 /* RunnerTests */ = { F7BDBB0A26E829B700DE9315 /* RunnerTests */ = {
...@@ -712,7 +712,7 @@ ...@@ -712,7 +712,7 @@
MARKETING_VERSION = 1.0; MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGallery.RunnerTests; PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGallery.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/flutter_gallery.app/Contents/MacOS/flutter_gallery"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Flutter Gallery.app/Contents/MacOS/Flutter Gallery";
}; };
name = Debug; name = Debug;
}; };
...@@ -732,7 +732,7 @@ ...@@ -732,7 +732,7 @@
MARKETING_VERSION = 1.0; MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGallery.RunnerTests; PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGallery.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/flutter_gallery.app/Contents/MacOS/flutter_gallery"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Flutter Gallery.app/Contents/MacOS/Flutter Gallery";
}; };
name = Release; name = Release;
}; };
...@@ -752,7 +752,7 @@ ...@@ -752,7 +752,7 @@
MARKETING_VERSION = 1.0; MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGallery.RunnerTests; PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGallery.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/flutter_gallery.app/Contents/MacOS/flutter_gallery"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Flutter Gallery.app/Contents/MacOS/Flutter Gallery";
}; };
name = Profile; name = Profile;
}; };
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045" BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "flutter_gallery.app" BuildableName = "Flutter Gallery.app"
BlueprintName = "Runner" BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj"> ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference> </BuildableReference>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045" BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "flutter_gallery.app" BuildableName = "Flutter Gallery.app"
BlueprintName = "Runner" BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj"> ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference> </BuildableReference>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045" BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "flutter_gallery.app" BuildableName = "Flutter Gallery.app"
BlueprintName = "Runner" BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj"> ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference> </BuildableReference>
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045" BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "flutter_gallery.app" BuildableName = "Flutter Gallery.app"
BlueprintName = "Runner" BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj"> ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference> </BuildableReference>
......
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
// 'flutter create' template. // 'flutter create' template.
// The application's name. By default this is also the title of the Flutter window. // The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = flutter_gallery PRODUCT_NAME = Flutter Gallery
// The application's bundle identifier // The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGallery PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGallery
// The copyright displayed in application information // The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2019 com.example. All rights reserved. PRODUCT_COPYRIGHT = Copyright © 2014 The Flutter Authors. All rights reserved.
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
- (void)testMenu { - (void)testMenu {
NSMenu *applicationMenu = ((FlutterAppDelegate *)NSApplication.sharedApplication.delegate).applicationMenu; NSMenu *applicationMenu = ((FlutterAppDelegate *)NSApplication.sharedApplication.delegate).applicationMenu;
XCTAssertEqual(applicationMenu.numberOfItems, 11); XCTAssertEqual(applicationMenu.numberOfItems, 11);
XCTAssertEqualObjects([applicationMenu itemAtIndex:0].title, @"About flutter_gallery"); XCTAssertEqualObjects([applicationMenu itemAtIndex:0].title, @"About Flutter Gallery");
NSMenu *mainMenu = NSApplication.sharedApplication.mainMenu; NSMenu *mainMenu = NSApplication.sharedApplication.mainMenu;
XCTAssertEqual([mainMenu indexOfItemWithSubmenu:applicationMenu], 0); XCTAssertEqual([mainMenu indexOfItemWithSubmenu:applicationMenu], 0);
......
...@@ -77,7 +77,7 @@ void main() { ...@@ -77,7 +77,7 @@ void main() {
buildMode, buildMode,
)); ));
final Directory outputApp = buildPath.childDirectory('flutter_gallery.app'); final Directory outputApp = buildPath.childDirectory('Flutter Gallery.app');
final Directory outputAppFramework = final Directory outputAppFramework =
fileSystem.directory(fileSystem.path.join( fileSystem.directory(fileSystem.path.join(
outputApp.path, outputApp.path,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment