diff --git a/linux/build.gradle.kts b/linux/build.gradle.kts index 6ef03549..66e78854 100644 --- a/linux/build.gradle.kts +++ b/linux/build.gradle.kts @@ -4,4 +4,5 @@ dependencies { } application { mainClass.set("com.lightcrafts.platform.linux.LinuxLauncher") + tasks.run.get().workingDir = file("products") } diff --git a/macosx/build.gradle.kts b/macosx/build.gradle.kts index e0daf0d4..ef943b85 100644 --- a/macosx/build.gradle.kts +++ b/macosx/build.gradle.kts @@ -3,4 +3,5 @@ dependencies { } application { mainClass.set("com.lightcrafts.platform.macosx.MacOSXLauncher") + tasks.run.get().workingDir = file("products") } diff --git a/windows/build.gradle.kts b/windows/build.gradle.kts index f681a1e6..606724b5 100644 --- a/windows/build.gradle.kts +++ b/windows/build.gradle.kts @@ -3,4 +3,5 @@ dependencies { } application { mainClass.set("com.lightcrafts.platform.windows.WindowsLauncher") + tasks.run.get().workingDir = file("products") }