mirror of
https://github.com/johndoe6345789/WizardMerge.git
synced 2026-04-24 13:44:55 +00:00
Rename run_app.sh to scripts/run_app.sh
This commit is contained in:
13
scripts/run_app.sh
Executable file
13
scripts/run_app.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env sh
|
||||
# Launch the WizardMerge GUI using the local virtual environment when present.
|
||||
set -eu
|
||||
|
||||
VENV_DIR=${VENV_DIR:-.venv}
|
||||
PYTHON_BIN=${PYTHON_BIN:-python3}
|
||||
|
||||
if [ -d "$VENV_DIR" ]; then
|
||||
# shellcheck disable=SC1090
|
||||
. "$VENV_DIR/bin/activate"
|
||||
fi
|
||||
|
||||
exec "$PYTHON_BIN" -m wizardmerge.app "$@"
|
||||
Reference in New Issue
Block a user