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

Commit

Permalink
Fix the start script for windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
mocobeta committed Oct 3, 2018
1 parent 4f05789 commit bfd6e92
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions luke.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
if not "%JFX_HOME%" == "" JAVA_OPTIONS=--module-path %JFX_HOME\lib --add-modules=javafx.controls,javafx.fxml
start javaw %JAVA_OPTIONS% -jar .\target\luke-javafx-with-deps.jar
@echo off
if not "%JFX_HOME%" == "" (
set JAVA_OPTIONS=--module-path %JFX_HOME%\lib --add-modules=javafx.controls,javafx.fxml
)
start javaw %JAVA_OPTIONS% -jar .\target\luke-javafx-with-deps.jar

0 comments on commit bfd6e92

Please sign in to comment.