mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 16:08:46 +00:00
8 lines
309 B
Bash
8 lines
309 B
Bash
#!/bin/bash
|
|
# Patrol parses the output of `flutter --version --machine`, so -v must only reach `flutter run`.
|
|
if [ "$1" = run ]; then
|
|
# CanvasKit comes from the local dev server: no gstatic fetch in every fresh browser context.
|
|
exec flutter -v run --no-web-resources-cdn "${@:2}"
|
|
fi
|
|
exec flutter "$@"
|