Mindustry: enable automatic updates.

This patch enables auto updates for Mindustry using UpdateCheckMode HTTP:
https://github.com/Anuken/Mindustry/issues/654
This commit is contained in:
Richard Nauber 2019-09-17 15:02:33 +00:00 committed by Licaon_Kter
parent 294e9989f6
commit d5d9d0f450

View file

@ -38,9 +38,9 @@ Builds:
- buildversion=89
- versionType=fdroid
- versionName: 4-fdroid-92
versionCode: 92
commit: 1cd43f938fa5843984dc82498a75dffe4def75e3
- versionName: 4-fdroid-93
versionCode: 93
commit: v93
subdir: android
gradle:
- yes
@ -50,13 +50,11 @@ Builds:
- echo "modifier=beta" >> ../core/assets/version.properties
- echo "type=fdroid" >> ../core/assets/version.properties
- echo "number=4" >> ../core/assets/version.properties
scanignore:
- core/assets/saves
- echo "buildversion=$$VERCODE$$" >> gradle.properties
- echo "versionType=fdroid" >> gradle.properties
- grep archash ../gradle.properties >> gradle.properties
scandelete:
- android/libs
gradleprops:
- buildversion=92
- versionType=fdroid
MaintainerNotes: |-
libgdx.so and libgdx-freetype.so binaries are extracted from
@ -64,9 +62,8 @@ MaintainerNotes: |-
The folder "assets/saves" contains savegames not executables.
Cannot use AUM/UCM because version code and version name are dynamic.
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: 4-fdroid-92
CurrentVersionCode: 92
AutoUpdateMode: Version v%c
UpdateCheckMode: HTTP
UpdateCheckData: https://raw.githubusercontent.com/Anuken/MindustryBuilds/master/version_fdroid.txt|versionCode=(.*)|.|versionName=(.*)
CurrentVersion: 4-fdroid-93
CurrentVersionCode: 93