mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 20:48:33 +07:00
iOS fix
This commit is contained in:
parent
5e0e3f4522
commit
513e5b4019
13
build.gradle
13
build.gradle
@ -166,13 +166,14 @@ project(":ios"){
|
|||||||
def props = new Properties()
|
def props = new Properties()
|
||||||
if(vfile.exists()){
|
if(vfile.exists()){
|
||||||
props.load(new FileInputStream(vfile))
|
props.load(new FileInputStream(vfile))
|
||||||
|
}else{
|
||||||
|
props['app.id'] = 'io.anuke.mindustry'
|
||||||
|
props['app.version'] = '4.2.1'
|
||||||
|
props['app.mainclass'] = 'io.anuke.mindustry.IOSLauncher'
|
||||||
|
props['app.executable'] = 'IOSLauncher'
|
||||||
|
props['app.name'] = 'Mindustry'
|
||||||
}
|
}
|
||||||
|
|
||||||
props['app.id'] = 'io.anuke.mindustry'
|
|
||||||
props['app.version'] = '4.2.1'
|
|
||||||
props['app.mainclass'] = 'io.anuke.mindustry.IOSLauncher'
|
|
||||||
props['app.executable'] = 'IOSLauncher'
|
|
||||||
props['app.name'] = 'Mindustry'
|
|
||||||
props['app.build'] = (!props.containsKey("app.build") ? 40 : props['app.build'].toInteger() + 1) + ""
|
props['app.build'] = (!props.containsKey("app.build") ? 40 : props['app.build'].toInteger() + 1) + ""
|
||||||
props.store(vfile.newWriter(), null)
|
props.store(vfile.newWriter(), null)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user