Revert "update macOS configuration settings (#45920)" (#45965)

This reverts commit 3b2042a028.
This commit is contained in:
Jonah Williams
2019-12-02 21:34:41 -08:00
committed by GitHub
parent 9708e7d16a
commit 8a9897c84c
3 changed files with 26 additions and 22 deletions

View File

@@ -146,6 +146,22 @@ class CreateCommand extends FlutterCommand {
defaultsTo: true,
help: 'Generate a project using the AndroidX support libraries',
);
// Deprecated
argParser.addFlag(
'macos',
negatable: true,
defaultsTo: false,
hide: true,
help: 'Include support for building a macOS application',
);
// Deprecated
argParser.addFlag(
'web',
negatable: true,
defaultsTo: false,
hide: true,
help: 'Deprecated',
);
}
@override
@@ -390,7 +406,7 @@ class CreateCommand extends FlutterCommand {
androidLanguage: stringArg('android-language'),
iosLanguage: stringArg('ios-language'),
web: featureFlags.isWebEnabled,
macos: featureFlags.isMacOSEnabled,
macos: boolArg('macos'),
);
final String relativeDirPath = fs.path.relative(projectDirPath);

View File

@@ -106,10 +106,6 @@ const Feature flutterMacOSDesktopFeature = Feature(
available: true,
enabledByDefault: false,
),
dev: FeatureChannelSetting(
available: true,
enabledByDefault: false,
),
);
/// The [Feature] for Linux desktop.