40e82051b9
flutter: Update remaining engine artifact hashes for v3.13.0 Co-Authored-By: hacker1024 <20849728+hacker1024@users.noreply.github.com>
49 lines
2.3 KiB
Diff
49 lines
2.3 KiB
Diff
diff --git a/bin/internal/shared.sh b/bin/internal/shared.sh
|
|
index 3532c23114..25dfcae4c7 100644
|
|
--- a/bin/internal/shared.sh
|
|
+++ b/bin/internal/shared.sh
|
|
@@ -229,8 +229,6 @@ function shared::execute() {
|
|
exit 1
|
|
fi
|
|
|
|
- upgrade_flutter 7< "$PROG_NAME"
|
|
-
|
|
BIN_NAME="$(basename "$PROG_NAME")"
|
|
case "$BIN_NAME" in
|
|
flutter*)
|
|
diff --git a/packages/flutter_tools/lib/src/cache.dart b/packages/flutter_tools/lib/src/cache.dart
|
|
index 13efbde879..467b3a7cbf 100644
|
|
--- a/packages/flutter_tools/lib/src/cache.dart
|
|
+++ b/packages/flutter_tools/lib/src/cache.dart
|
|
@@ -664,6 +664,7 @@ class Cache {
|
|
|
|
/// Update the cache to contain all `requiredArtifacts`.
|
|
Future<void> updateAll(Set<DevelopmentArtifact> requiredArtifacts, {bool offline = false}) async {
|
|
+ return;
|
|
if (!_lockEnabled) {
|
|
return;
|
|
}
|
|
diff --git a/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart b/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
|
|
index 5d6d78639f..90a4dfa555 100644
|
|
--- a/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
|
|
+++ b/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
|
|
@@ -297,7 +297,6 @@ class FlutterCommandRunner extends CommandRunner<void> {
|
|
globals.flutterUsage.suppressAnalytics = true;
|
|
}
|
|
|
|
- globals.flutterVersion.ensureVersionFile();
|
|
final bool machineFlag = topLevelResults[FlutterGlobalOptions.kMachineFlag] as bool? ?? false;
|
|
final bool ci = await globals.botDetector.isRunningOnBot;
|
|
final bool redirectedCompletion = !globals.stdio.hasTerminal &&
|
|
@@ -306,11 +305,6 @@ class FlutterCommandRunner extends CommandRunner<void> {
|
|
final bool versionCheckFlag = topLevelResults[FlutterGlobalOptions.kVersionCheckFlag] as bool? ?? false;
|
|
final bool explicitVersionCheckPassed = topLevelResults.wasParsed(FlutterGlobalOptions.kVersionCheckFlag) && versionCheckFlag;
|
|
|
|
- if (topLevelResults.command?.name != 'upgrade' &&
|
|
- (explicitVersionCheckPassed || (versionCheckFlag && !isMachine))) {
|
|
- await globals.flutterVersion.checkFlutterVersionFreshness();
|
|
- }
|
|
-
|
|
// See if the user specified a specific device.
|
|
final String? specifiedDeviceId = topLevelResults[FlutterGlobalOptions.kDeviceIdOption] as String?;
|
|
if (specifiedDeviceId != null) {
|