Added Linux exe stub

This commit is contained in:
2018-09-17 10:12:34 +01:00
parent eade8ef47d
commit ae22c8c86d
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@ bin
AudiobookRecorder.jar
AudiobookRecorder.dmg
AudiobookRecorder.exe
AudiobookRecorder

10
dist/linux/stub vendored Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
MYSELF=`which "$0" 2>/dev/null`
[ $? -gt 0 -a -f "$0" ] && MYSELF="./$0"
java=java
if test -n "$JAVA_HOME"; then
java="$JAVA_HOME/bin/java"
fi
java_args=-Xmx1g
exec "$java" $java_args -jar $MYSELF "$@"
exit 1