From a8247c8ca2e2062eecaea9cf1ae18613ccd25eff 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 $*