Files
pshell-apps/correlation/scripts/app_startup
2025-08-19 18:03:21 +02:00

8 lines
296 B
Bash

#!/bin/sh
APP_ARGS_NAME=\$(echo "APP_${app_name}" | tr '[:lower:]' '[:upper:]')_ARGS
APP_ARGS_NAME=\${APP_ARGS_NAME//-/_}
# Run the package with all passed arguments
exec pshell-workbench -b -d -l -k -g -q -statusbar -size=1000x700 -console_log=SEVERE -m ${pkg_folder} \${!APP_ARGS_NAME} "\$@"