mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-08 01:43:59 +07:00
Fixed some mac build issues
This commit is contained in:
parent
6244551d69
commit
bb4c498e5a
@ -10,7 +10,7 @@ def PACKR_DIR = "$System.env.PACKR_DIR"
|
|||||||
def ICON_DIR = new File("core/assets/sprites/icon.icns")
|
def ICON_DIR = new File("core/assets/sprites/icon.icns")
|
||||||
|
|
||||||
ext.writeVersion = {
|
ext.writeVersion = {
|
||||||
def pfile = new File('core/assets/version.properties')
|
def pfile = new File('../core/assets/version.properties')
|
||||||
def props = new Properties()
|
def props = new Properties()
|
||||||
|
|
||||||
pfile.createNewFile()
|
pfile.createNewFile()
|
||||||
@ -51,6 +51,7 @@ task run(dependsOn: classes, type: JavaExec) {
|
|||||||
classpath = sourceSets.main.runtimeClasspath
|
classpath = sourceSets.main.runtimeClasspath
|
||||||
standardInput = System.in
|
standardInput = System.in
|
||||||
workingDir = project.assetsDir
|
workingDir = project.assetsDir
|
||||||
|
jvmArgs "-XstartOnFirstThread"
|
||||||
ignoreExitValue = true
|
ignoreExitValue = true
|
||||||
if (project.hasProperty("appArgs")) {
|
if (project.hasProperty("appArgs")) {
|
||||||
args Eval.me(appArgs)
|
args Eval.me(appArgs)
|
||||||
|
Loading…
Reference in New Issue
Block a user