mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-08 19:59:29 +00:00
call correct dart exe on windows
This commit is contained in:
parent
2ba0dc576e
commit
8b523739d9
1 changed files with 13 additions and 4 deletions
|
@ -11,8 +11,17 @@ APP_BUILD_PLATFORM=$1
|
||||||
|
|
||||||
# run icon and image generators
|
# run icon and image generators
|
||||||
pushd "${APP_PROJECT_ROOT_DIR}"
|
pushd "${APP_PROJECT_ROOT_DIR}"
|
||||||
|
YAML_FILE="${APP_PROJECT_ROOT_DIR}/scripts/app_config/platforms/${APP_BUILD_PLATFORM}/flutter_launcher_icons.yaml"
|
||||||
|
if [[ "${APP_BUILD_PLATFORM}" = 'windows' ]]; then
|
||||||
|
cmd.exe /c flutter pub get
|
||||||
|
WIN_PATH_VERSION=$(wslpath -w ${YAML_FILE})
|
||||||
|
cmd.exe /c dart run flutter_launcher_icons -f "${WIN_PATH_VERSION}"
|
||||||
|
#native splash screen not used
|
||||||
|
#cmd.exe /c dart run flutter_native_splash:create
|
||||||
|
else
|
||||||
flutter pub get
|
flutter pub get
|
||||||
|
dart run flutter_launcher_icons -f "${YAML_FILE}"
|
||||||
#native splash screen not used
|
#native splash screen not used
|
||||||
#dart run flutter_native_splash:create
|
#dart run flutter_native_splash:create
|
||||||
dart run flutter_launcher_icons -f "${APP_PROJECT_ROOT_DIR}/scripts/app_config/platforms/${APP_BUILD_PLATFORM}/flutter_launcher_icons.yaml"
|
fi
|
||||||
popd
|
popd
|
Loading…
Reference in a new issue