blob: d56cca7060b0fefb3d6097c80a52659a3941e4ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env bash
APPDIR=
while IFS='=' read -r key value; do
case $key in
app.classpath) app_classpath=$value ;;
app.mainclass) app_mainclass=$value ;;
java-options) java_options+=("$value") ;;
esac
done < "$APPDIR/misc/AudioRelay.cfg"
archlinux-java-run -a 17 -- "${java_options[*]}" \
-Djava.library.path="$APPDIR/misc" \
-cp "$(eval echo "$app_classpath")" "$app_mainclass" "$@"
|