mirror of
https://github.com/johndoe6345789/WizardMerge.git
synced 2026-04-24 13:44:55 +00:00
14 lines
303 B
Bash
Executable File
14 lines
303 B
Bash
Executable File
#!/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 "$@"
|