Lucas.Xu affd253e21
feat: support AppImage (#3248)
* feat: add build deb shell script

* feat: update release.yml

* chore: add flatpak readme

* feat: support appimage builder

* feat: support appimage builder

* Update release.yml
2023-08-23 08:46:11 +08:00

26 lines
474 B
Bash
Executable File

#!/bin/bash
echo "Generating flowy icon files"
# Store the current working directory
original_dir=$(pwd)
cd "$(dirname "$0")"
# Navigate to the project root
cd ../../../appflowy_flutter
rm -rf assets/flowy_icons/
mkdir -p assets/flowy_icons/
rsync -r ../resources/flowy_icons/ assets/flowy_icons/
flutter packages pub get
echo "Generating FlowySvg classes"
dart run flowy_svg
echo "Done generating icon files."
# Return to the original directory
cd "$original_dir"