mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 21:34:11 +07:00
Cleanup
This commit is contained in:
parent
a333fa3722
commit
55db91e53e
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user