- 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:
17
bin/run.sh
17
bin/run.sh
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user