Rename run_app.sh to scripts/run_app.sh

This commit is contained in:
2025-11-27 20:23:53 +00:00
committed by GitHub
parent 6983005181
commit 5501892b6e

13
scripts/run_app.sh Executable file
View 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 "$@"