Package apps

This commit is contained in:
2025-08-19 18:03:21 +02:00
parent 9703240a4c
commit 6f72ea1692
7 changed files with 48 additions and 22 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/sh
APP_ARGS_NAME=\$(echo "APP_${app_name}" | tr '[:lower:]' '[:upper:]')_ARGS
APP_ARGS_NAME=\${APP_ARGS_NAME//-/_}
exec pshell-workbench -b -l -g -nbcf \${!APP_ARGS_NAME} \
-plgp ${pkg_folder}/plugins \
-scpt ${pkg_folder}/script \
-devp ${pkg_folder}/devices \
-pool ${pkg_folder}/config/devices.properties \
-p ${java_file} \
"\$@"

View File

@@ -0,0 +1,7 @@
#!/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} "\$@"