Files
pshell-apps/athos-screens/scripts/app_startup
2025-08-15 17:01:15 +02:00

8 lines
339 B
Bash

#!/bin/sh
export PSHELL_EX_OPTIONS=${ex_options}
APP_ARGS_NAME=\$(echo "APP_${app_name}" | tr '[:lower:]' '[:upper:]')_ARGS
APP_ARGS_NAME=\${APP_ARGS_NAME//-/_}
# Run the JAR with all passed arguments
exec pshell-workbench -b -d -l -k -n -q -statusbar -persist -console_log=SEVERE -frame_rate=1.1 -p ${jar_file} \${!APP_ARGS_NAME} "\$@"