Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit bfd6e92

Browse files
committed
Fix the start script for windows.
1 parent 4f05789 commit bfd6e92

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

luke.bat

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
if not "%JFX_HOME%" == "" JAVA_OPTIONS=--module-path %JFX_HOME\lib --add-modules=javafx.controls,javafx.fxml
2-
start javaw %JAVA_OPTIONS% -jar .\target\luke-javafx-with-deps.jar
1+
@echo off
2+
if not "%JFX_HOME%" == "" (
3+
set JAVA_OPTIONS=--module-path %JFX_HOME%\lib --add-modules=javafx.controls,javafx.fxml
4+
)
5+
start javaw %JAVA_OPTIONS% -jar .\target\luke-javafx-with-deps.jar

0 commit comments

Comments
 (0)