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