mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-07 00:38:26 +07:00
Cleanup
This commit is contained in:
@ -24,7 +24,7 @@ public class Version{
|
|||||||
public static void init(){
|
public static void init(){
|
||||||
if(!enabled) return;
|
if(!enabled) return;
|
||||||
|
|
||||||
Fi file = OS.isAndroid || OS.isIos ? Core.files.internal("version.properties") : new Fi("version.properties", FileType.Internal);
|
Fi file = OS.isAndroid || OS.isIos ? Core.files.internal("version.properties") : new Fi("version.properties", FileType.internal);
|
||||||
|
|
||||||
ObjectMap<String, String> map = new ObjectMap<>();
|
ObjectMap<String, String> map = new ObjectMap<>();
|
||||||
PropertiesUtils.load(map, file.reader());
|
PropertiesUtils.load(map, file.reader());
|
||||||
|
@ -50,7 +50,7 @@ public class DesktopLauncher extends ClientLauncher{
|
|||||||
stencil = 0;
|
stencil = 0;
|
||||||
width = 900;
|
width = 900;
|
||||||
height = 700;
|
height = 700;
|
||||||
setWindowIcon(FileType.Internal, "icons/icon_64.png");
|
setWindowIcon(FileType.internal, "icons/icon_64.png");
|
||||||
}});
|
}});
|
||||||
}catch(Throwable e){
|
}catch(Throwable e){
|
||||||
handleCrash(e);
|
handleCrash(e);
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=2303ab81bb76a973db8885f3ba14b6515782a1a4
|
archash=ad4891d17c0739b297df182b17391f8a3e546cb6
|
||||||
|
Reference in New Issue
Block a user