From 0efea4b92fa4678a7d10a03c854603f25043cc4d Mon Sep 17 00:00:00 2001 From: Claus Nagel Date: Thu, 15 Aug 2024 16:35:44 +0200 Subject: [PATCH] fixed start scripts --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 72174cd..3d3cbeb 100644 --- a/build.gradle +++ b/build.gradle @@ -69,7 +69,8 @@ application { def windows = getWindowsScript() def unix = getUnixScript() windows.text = windows.text.replaceFirst('set APP_HOME=.*', '$0\r\nset WORKING_DIR=%CD%') - unix.text = unix.text.replaceFirst('\nAPP_HOME=.*', '$0\nexport APP_HOME\nexport WORKING_DIR=\\$(pwd -P)') + unix.text = unix.text.replaceFirst('\nCLASSPATH=.*', + '$0\n\nexport APP_HOME\nexport WORKING_DIR=\\$(pwd -P)') } } }