mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 07:18:57 +07:00
4.10.5
This commit is contained in:
@ -19,7 +19,7 @@ val deployFolder = file("../deploy")
|
||||
val jvmArgsForMac = listOf("-XstartOnFirstThread", "-Djava.awt.headless=true")
|
||||
tasks.register<JavaExec>("run") {
|
||||
jvmArgs = mutableListOf<String>()
|
||||
if ("mac" in System.getProperty("os.name").toLowerCase())
|
||||
if ("mac" in System.getProperty("os.name").lowercase())
|
||||
(jvmArgs as MutableList<String>).addAll(jvmArgsForMac)
|
||||
// These are non-standard, only available/necessary on Mac.
|
||||
|
||||
|
Reference in New Issue
Block a user