This commit is contained in:
Anuken 2020-12-02 13:51:05 -05:00
parent a333fa3722
commit 55db91e53e
2 changed files with 6 additions and 2 deletions

View File

@ -253,18 +253,22 @@ project(":ios"){
task incrementConfig{
def vfile = file('robovm.properties')
def bversion = getBuildVersion()
def props = new Properties()
if(vfile.exists()){
props.load(new FileInputStream(vfile))
}else{
props['app.id'] = 'io.anuke.mindustry'
props['app.version'] = '5.0'
props['app.version'] = '6.0'
props['app.mainclass'] = 'mindustry.IOSLauncher'
props['app.executable'] = 'IOSLauncher'
props['app.name'] = 'Mindustry'
}
props['app.build'] = (!props.containsKey("app.build") ? 40 : props['app.build'].toInteger() + 1) + ""
if(bversion != "custom build"){
props['app.version'] = versionNumber + ".0" + ("." + bversion)
}
props.store(vfile.newWriter(), null)
}

View File

@ -11,7 +11,7 @@
<key>CFBundleIdentifier</key>
<string>${app.id}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0.120.3</string>
<string>6.0</string>
<key>MinimumOSVersion</key>
<string>9.0.0</string>
<key>CFBundleName</key>