Skip to content

Commit e9d67f7

Browse files
committed
only run flutter_native_splash for mobile builds
1 parent ecd679d commit e9d67f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/app_config/shared/asset_generators.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ if [[ "${APP_BUILD_PLATFORM}" = 'windows' ]]; then
2121
else
2222
flutter pub get
2323
dart run flutter_launcher_icons -f "${YAML_FILE}"
24-
dart run flutter_native_splash:create
24+
25+
if [[ "${APP_BUILD_PLATFORM}" = 'ios' || "${APP_BUILD_PLATFORM}" = 'android' ]]; then
26+
dart run flutter_native_splash:create
27+
fi
2528
fi
2629
popd

0 commit comments

Comments
 (0)