diff --git a/build.gradle.kts b/build.gradle.kts index 2c23fc5..7a8a3f6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -192,7 +192,10 @@ runtime { jpackage { imageName = "openrndr-application" skipInstaller = true - if (OperatingSystem.current() == OperatingSystem.MAC_OS) jvmArgs.add("-XstartOnFirstThread") + if (OperatingSystem.current() == OperatingSystem.MAC_OS) { + jvmArgs.add("-XstartOnFirstThread") + jvmArgs.add("-Duser.dir=${"$"}APPDIR/../Resources") + } } options.set(listOf("--strip-debug", "--compress", "1", "--no-header-files", "--no-man-pages")) modules.set(listOf("jdk.unsupported", "java.management"))