misc fixes

This commit is contained in:
linsui 2024-05-02 21:11:31 +08:00
parent c90f920bba
commit 6e022d6900
7 changed files with 14 additions and 10 deletions

View file

@ -581,7 +581,8 @@ Builds:
gradle:
- yes
prebuild: sed -i -e '/isEnable = true/d' -e 's:File("app/:File(":' -e 's:inputFile
= ":inputFile = "../:g' -e 's:templateFile = ":templateFile = "../:g' build.gradle.kts
= ":inputFile = "../:g' -e 's:templateFile = ":templateFile = "../:g' -e '/googleShortcuts/d'
build.gradle.kts
ndk: 23.2.8568313
AutoUpdateMode: Version

View file

@ -254,7 +254,7 @@ Builds:
scandelete:
- library
- libs.prebuilt
ndk: r25b
ndk: r26d
MaintainerNotes: versionCode/Name are updated as static just before tagging, being
dynamic during development in between.

View file

@ -286,6 +286,13 @@ Builds:
output: asteroids_revenge.apk
srclibs:
- Godot@4.2.2-stable
prebuild:
- pushd $$Godot$$
- scons --clean platform=linuxbsd target=editor use_llvm=yes tools=yes
- scons --clean platform=android arch=armv7 production=yes target=template_release
- cd platform/android/java
- gradle cleanGodotTemplates
- popd
build:
- export JAVA_HOME=$(dirname $(dirname $(readlink -f $(which javac))))
- export ANDROID_SDK_ROOT=$$SDK$$

View file

@ -3740,7 +3740,7 @@ Builds:
- versionName: '2.34'
versionCode: 36249
commit: 4aa2c662e5c4abad8c06b8aa1f6b64dead0ed926
commit: 26f1e95db033eaa7943a339c07b4af591c80a526
subdir: android/app
sudo:
- apt-get update

View file

@ -75,7 +75,6 @@ Builds:
- update-java-alternatives --set java-1.11.0-openjdk-amd64
gradle:
- fdroid
prebuild: echo 1
AllowedAPKSigningKeys: 6fc9c2e22d07d25ce77e2e963455053c38b8318a1a2491b3ed95d50cba85493d

View file

@ -132,12 +132,8 @@ Builds:
commit: 272b140a14beb0ef3bf986d224584df4da63f703
subdir: android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- curl -Lo node.tar.gz https://nodejs.org/dist/v18.16.1/node-v18.16.1-linux-x64.tar.gz
- echo "59582f51570d0857de6333620323bdeee5ae36107318f86ce5eca24747cabf5b node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- apt-get update
- apt-get install -y npm
output: build/outputs/apk/release/app-release-unsigned.apk
prebuild:
- cd ../..
@ -151,6 +147,8 @@ Builds:
- pushd ../..
- npm run build-prod
- npx cap sync android
- sed -i -e "s/\"COMMIT_HASH\",void 0/\"COMMIT_HASH\",\"$(git rev-parse --short=7
HEAD)\"/" android/app/src/main/assets/public/main.js
- popd
- gradle assembleRelease

View file

@ -61,7 +61,6 @@ Builds:
- versionName: 0.2.0
versionCode: 4
disable: https://codeberg.org/jozo/prayer-book/issues/7
commit: 8bf805bb1fefde055006e40bb3f6ab2452cac2ea
subdir: android/app
sudo: