From b9fc5645c95d0b3866e497da2b2bef69d3b7902e Mon Sep 17 00:00:00 2001 From: Bernie Jenny Date: Mon, 2 Apr 2018 22:22:42 +1000 Subject: [PATCH] Fix Windows executable generation with launch4j --- .gitignore | 4 ++++ build.xml | 20 +++++++++++++++++++- win/launch4j info.txt | 2 ++ win/launch4j_config.xml | 20 +++++++++++++------- 4 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 win/launch4j info.txt diff --git a/.gitignore b/.gitignore index bbe07f6..ca1e5b4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,7 @@ nbproject/private build +dist +win/launch4j +win/ColorOracle.exe +win/ColorOracle.zip diff --git a/build.xml b/build.xml index 79d2e53..1b5ff24 100755 --- a/build.xml +++ b/build.xml @@ -67,13 +67,31 @@ --> - + + + + + + + + + + + + + + + + + + + diff --git a/win/launch4j info.txt b/win/launch4j info.txt new file mode 100644 index 0000000..0e96192 --- /dev/null +++ b/win/launch4j info.txt @@ -0,0 +1,2 @@ +To create a Windows executable file, place a copy of launch4j here. Name it "launch4j". +http://launch4j.sourceforge.net \ No newline at end of file diff --git a/win/launch4j_config.xml b/win/launch4j_config.xml index 01c89bd..dae0e5d 100755 --- a/win/launch4j_config.xml +++ b/win/launch4j_config.xml @@ -1,7 +1,8 @@ + false gui - ..\dist\ColorOracle.jar + ../dist/ColorOracle.jar ColorOracle.exe Color Oracle @@ -9,8 +10,8 @@ normal http://java.com/download http://colororacle.org/ - false false + true icons.ico @@ -19,21 +20,26 @@ + false + false 1.6.0 preferJre + 64/32 - 1.2.1.0 - 1.2.1 for Java 6 or higher + 1.3.0.0 + 1.3.0 for Java 6 or higher Color Oracle - Bernhard Jenny, Oregon State University - 1.2.1.0 - 1.2.1 for Java 6 or higher + B. Jenny & N.V. Kelso + 1.3.0.0 + 1.3.0 for Java 6 or higher Color Oracle Color Oracle ColorOracle.exe + + ENGLISH_US An error occurred while starting Color Oracle.