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

- Now support 580.105.08 driver,
- Now use rx3-docker/x11-pulse:1.2.6-mga9 image,
- Rebuild for updates.
This commit is contained in:
2025-11-29 11:42:13 +01:00
parent d6fcb35c68
commit e94e601e85
4 changed files with 28 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ while [[ "$1" == "-h" || "$1" == "-d" || "$1" == "-i" ]]
do
if [[ "$1" == "-h" ]]
then
echo "usage: run.sh [-h] [-d] [-i] <Application_Dir> <Application_Exec> [Args...]"
echo "usage: run.sh [-h] [-d] [-i] [<Application_Dir> <Application_Exec> | <Application_Exec>] [Args...]"
echo "with -d disabling sound,"
echo "with -i enabling internet access."
@@ -35,11 +35,18 @@ do
fi
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