- Now use rx3-docker/x11-pulse:1.2.3-mga9 image,

- Add absolute & relative command path support,
- Add spaces support in Application Dir & Command.
This commit is contained in:
2025-04-14 14:24:46 +02:00
parent b997d4031c
commit bd61472ab2
4 changed files with 18 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash -x
#!/bin/bash
set -o errexit
@@ -32,6 +32,8 @@ shift
APPL_DIR=$(realpath ${APPL_DIR})
export USER_ID=$(id -u)
export GROUP_ID=$(id -g)
export GROUP_NAME=$(id -gn)
@@ -41,6 +43,6 @@ cd "${APPL_HOME_DIR}"
sbin/docker_mk_env
docker compose run --rm wine /usr/local/sbin/user_add_exec ${USER_ID} ${USER} ${HOME} ${GROUP_ID} ${GROUP_NAME} ${APPL_DIR}/${APPL_NAME} $*
docker compose run --rm wine /usr/local/sbin/user_add_exec ${USER_ID} ${USER} ${HOME} ${GROUP_ID} ${GROUP_NAME} "${APPL_DIR}" "${APPL_NAME}" "$@"
docker compose down