bundle a bash script in jar
This commit is contained in:
parent
acb496b7fa
commit
239605113c
1 changed files with 8 additions and 0 deletions
8
src/main/resources/assets/run-osda.sh
Executable file
8
src/main/resources/assets/run-osda.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
while getopts 'tg' flag; do
|
||||
case "${flag}" in
|
||||
t) java -Djexer.Swing=false -jar osda.jar;;
|
||||
g) java -Djexer.Swing=true -jar osda.jar;;
|
||||
esac
|
||||
done
|
Loading…
Reference in a new issue