Skip to content

Commit

Permalink
update command patch
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Mar 1, 2025
1 parent 63d02ef commit 143aca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packaging/build_apk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if [ -n "$START_LINE_NUM" ]; then
sed -i $START_LINE_NUM','$END_LINE_NUM'd' $FLET_BUILD_COMMAND_PATH
fi
sed -i 's/dev_packages_configured/True/' $FLET_BUILD_COMMAND_PATH
sed -i 's/self.flutter_dependencies = {}/self.flutter_dependencies = {"flet_permission_handler": "any"}/' $FLET_BUILD_COMMAND_PATH
cp ../libresvip/mobile/__main__.py main.py
uv run flet build apk -v \
--android-permissions android.permission.READ_EXTERNAL_STORAGE=True android.permission.WRITE_EXTERNAL_STORAGE=True android.permission.MANAGE_EXTERNAL_STORAGE=True \
Expand Down

0 comments on commit 143aca1

Please sign in to comment.