- Improve run.sh to allow direct call with appl full path in one argument,

- Now use rx3-docker/x11-pulse:1.2.6-mga9 image,
- Rebuild for updates.
This commit is contained in:
2025-11-29 12:00:41 +01:00
parent add152596b
commit 18a1aabd90
4 changed files with 26 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ while [[ "$1" == "-h" || "$1" == "-i" || "$1" == "-n" ]]
do
if [[ "$1" == "-h" ]]
then
echo "usage: run.sh [-h] [-n] [-i] <Application_Dir> <Application_Exec> [Args...]"
echo "usage: run.sh [-h] [-n] [-i] [<Application_Dir> <Application_Exec> | <Application_Exec>] [Args...]"
echo "with -i enabling internet access,"
echo "with -n enabling non volatile wine directory."
@@ -37,11 +37,18 @@ do
done
export APPL_DIR="$1"
shift
if [[ -d "$1" ]]
then
export APPL_DIR="$1"
shift
export APPL_NAME="$1"
shift
export APPL_NAME="$1"
shift
else
export APPL_DIR="$( dirname $1)"
export APPL_NAME="./$(basename $1)"
shift
fi