diff options
Diffstat (limited to 'fdc3-sail.sh')
-rw-r--r-- | fdc3-sail.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fdc3-sail.sh b/fdc3-sail.sh index a7b574433f2d..aab90d794f9e 100644 --- a/fdc3-sail.sh +++ b/fdc3-sail.sh @@ -1,6 +1,8 @@ #!/bin/bash +_ELECTRON=/usr/bin/electron24 +_ASAR="/opt/fdc3-sail/fdc3-sail.asar" if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then - exec electron24 /opt/fdc3-sail/fdc3-sail.asar "$@" + exec ${_ELECTRON} ${_ASAR} "$@" else - exec electron24 --no-sandbox /opt/fdc3-sail/fdc3-sail.asar "$@" + exec ${_ELECTRON} ${_ASAR} --no-sandbox "$@" fi
\ No newline at end of file |