From a5814e24974cbfd397332a5c1cbb941115aa8660 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Sun, 5 Sep 2021 20:40:27 +0200 Subject: [PATCH] Scripts: Change scripts to generate portable jar-file and run JRE directly --- compile.sh | 2 +- run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compile.sh b/compile.sh index 2ea97e4..4066495 100755 --- a/compile.sh +++ b/compile.sh @@ -1,3 +1,3 @@ #!/bin/sh -kotlinc app/src/main/kotlin/de/jotoho/waituntil/start.kt +kotlinc app/src/main/kotlin/de/jotoho/waituntil/start.kt -include-runtime -d waituntil.jar diff --git a/run.sh b/run.sh index 62dc8d1..ece8c9a 100755 --- a/run.sh +++ b/run.sh @@ -1,3 +1,3 @@ #!/bin/sh -kotlin de.jotoho.waituntil.StartKt $* +java -jar waituntil.jar $*