Add macos project auto migration code for FlutterApplication (#122336)
Add macos project auto migration code for FlutterApplication
This commit is contained in:
@@ -298,6 +298,16 @@ class FakePlistParser implements PlistParser {
|
||||
String? getStringValueFromFile(String plistFilePath, String key) {
|
||||
return _underlyingValues[key] as String?;
|
||||
}
|
||||
|
||||
@override
|
||||
bool replaceKey(String plistFilePath, {required String key, String? value}) {
|
||||
if (value == null) {
|
||||
_underlyingValues.remove(key);
|
||||
return true;
|
||||
}
|
||||
setProperty(key, value);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
class FakeBotDetector implements BotDetector {
|
||||
|
||||
Reference in New Issue
Block a user