diff --git a/compile.sh b/compile.sh old mode 100755 new mode 100644 index 858f5df..9d6a644 --- a/compile.sh +++ b/compile.sh @@ -2,14 +2,22 @@ # 20260913 - Hyperling # Build the project and add them to a releases folder. +# TODO +# create dir name release-${version} to store these in, + +echo -e "\nCleaning..." flutter clean +echo -e "\nBuilding Linux..." flutter build linux zip -r release/linux-bundle.zip build/linux/x64/release/bundle/* +echo -e "\nCleaning..." flutter clean +echo -e "\nBuilding APK..." flutter build apk -cp build/app/outputs/flutter-apk/app-release.apk release/ +cp -v build/app/outputs/flutter-apk/app-release.apk release/ +echo -e "\nCleaning..." flutter clean