fix devtool instructional messages after flutter build ... --analyze-size . Fixes #122229 (#122230)

fix devtool instructional messages after `flutter build ... --analyze-size `.  Fixes #122229
This commit is contained in:
Tim Maffett
2023-03-09 14:29:50 -08:00
committed by GitHub
parent 01367d52d7
commit 2e8c3468e7
11 changed files with 11 additions and 16 deletions

View File

@@ -105,8 +105,7 @@ Future<void> buildLinux(
final String relativeAppSizePath = outputFile.path.split('.flutter-devtools/').last.trim();
globals.printStatus(
'\nTo analyze your app size in Dart DevTools, run the following command:\n'
'flutter pub global activate devtools; flutter pub global run devtools '
'--appSizeBase=$relativeAppSizePath'
'dart devtools --appSizeBase=$relativeAppSizePath'
);
}
}