mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
optimize ping page & make.dart
This commit is contained in:
@@ -104,8 +104,9 @@ Future<void> flutterBuild(
|
||||
buildType,
|
||||
];
|
||||
// No sksl cache for macos
|
||||
if ('macos' != buildType) {
|
||||
args.add('--bundle-sksl-path=$buildType$skslFileSuffix');
|
||||
final skslPath = '$buildType$skslFileSuffix';
|
||||
if (await File(skslPath).exists()) {
|
||||
args.add('--bundle-sksl-path=$skslPath');
|
||||
}
|
||||
final isAndroid = 'apk' == buildType;
|
||||
// [--target-platform] only for Android
|
||||
|
||||
Reference in New Issue
Block a user