From 2bf4a349a838a88a1e3ec77ebc266fad4a4bfdb8 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Sat, 25 Sep 2021 22:00:13 +0900 Subject: [PATCH] Change executable path of distribution --- README.md | 6 +++--- build.gradle.kts | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ff53072..e2bfe58 100644 --- a/README.md +++ b/README.md @@ -25,20 +25,20 @@ The applicaiton is written by Java, you can run the application on any PC platfo On linux or macOS which already have java 11 or later installed and set PATH properly, ```console -ebviewer-0.4.3/bin/ebviewer +ebviewer-0.4.3/ebviewer ``` On windows ```console -ebviewer-0.4.3\bin\ebviewer.bat +ebviewer-0.4.3\ebviewer.bat ``` When you have java but there is no PATH set, ```console set JAVA_HOME=C:\Program Files\Java\jdk11.0.123.456\ -ebviewer-0.4.3\bin\ebviewer.bat +ebviewer-0.4.3\ebviewer.bat ``` diff --git a/build.gradle.kts b/build.gradle.kts index d2ad8cd..be70be1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -153,6 +153,10 @@ nativeImage { } } +application { + executableDir = "" +} + distributions { create("source") { contents {