feat: -s stealth mode build flag
This commit is contained in:
parent
314e3be36a
commit
ab45bf89fb
@ -2,4 +2,9 @@
|
||||
|
||||
IMG=git.gmoker.com/icing/flutter:main
|
||||
|
||||
docker run --rm -v "$PWD:/app/" "$IMG" build apk
|
||||
if [ "$1" == -s ]; then
|
||||
OPT+=(--dart-define=STEALTH=true)
|
||||
fi
|
||||
|
||||
set -x
|
||||
docker run --rm -v "$PWD:/app/" "$IMG" build apk "${OPT[@]}"
|
||||
|
@ -2,4 +2,9 @@
|
||||
|
||||
IMG=git.gmoker.com/icing/flutter:main
|
||||
|
||||
docker run --rm -p 5037:5037 -v "$PWD:/app/" "$IMG" run
|
||||
if [ "$1" == -s ]; then
|
||||
OPT+=(--dart-define=STEALTH=true)
|
||||
fi
|
||||
|
||||
set -x
|
||||
docker run --rm -p 5037:5037 -v "$PWD:/app/" "$IMG" run "${OPTS[@]}"
|
||||
|
Loading…
Reference in New Issue
Block a user