fix: appimage build (#4578)

* chore: force exec flutter package pub get

* feat: support building appimage on github ci
This commit is contained in:
Lucas.Xu
2024-02-01 19:58:58 +07:00
committed by GitHub
parent 1e4f342fc3
commit 5b030303a6
5 changed files with 28 additions and 10 deletions

View File

@ -22,9 +22,8 @@ rm -rf assets/flowy_icons/
mkdir -p assets/flowy_icons/
rsync -r ../resources/flowy_icons/ assets/flowy_icons/
if [ "$no_pub_get" = false ]; then
flutter packages pub get
fi
flutter pub get
flutter packages pub get
echo "Generating FlowySvg classes"
dart run flowy_svg

View File

@ -24,9 +24,8 @@ rm -rf assets/translations/
mkdir -p assets/translations/
cp -f ../resources/translations/*.json assets/translations/
if [ "$no_pub_get" = false ]; then
flutter packages pub get
fi
flutter pub get
flutter packages pub get
echo "Specifying source directory for AppFlowy Localizations."
dart run easy_localization:generate -S assets/translations/