mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-26 06:56:14 -04:00
Trying the web archiving thing
This commit is contained in:
parent
b239bab852
commit
af85e6e50f
10 changed files with 172 additions and 27 deletions
8
build.sh
8
build.sh
|
@ -22,8 +22,8 @@ set -x
|
|||
# clear output folders first, so that they are empty for failed builds
|
||||
rm -rf ./build/*
|
||||
rm -rf ./app/src/main/assets/*
|
||||
rm -rf ./app/build/outputs/apk/release/
|
||||
rm -rf ./app/build/outputs/bundle/release/
|
||||
rm -rf ./app/build/outputs/apk/release/*
|
||||
rm -rf ./app/build/outputs/bundle/release/*
|
||||
|
||||
|
||||
|
||||
|
@ -37,8 +37,6 @@ echo "\"$versionCode\"" > src/data/version.json
|
|||
# Update service worker
|
||||
sed -i -e "s/VERSION = .*/ VERSION = '$versionCode'/" ./src/PWA/sw-b71.js
|
||||
|
||||
|
||||
|
||||
# remove all exif metadata from pictures, because i think fdroid doesn't like that. odd
|
||||
find -name '*.jp*g' -o -name '*.png' | xargs exiftool -all= -overwrite_original
|
||||
|
||||
|
@ -60,3 +58,5 @@ cp build/index.html ./app/src/main/assets/
|
|||
|
||||
# generate signed bundle for play store
|
||||
./gradlew bundleRelease
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue