diff --git a/run.sh b/run.sh index 9959628..d0a5483 100644 --- a/run.sh +++ b/run.sh @@ -41,7 +41,12 @@ if ! "$VPY" -m pip install --disable-pip-version-check -q -r requirements.txt; t "$VPY" -m pip install --disable-pip-version-check -q -r requirements.txt fi +if [ ! -f "config.json" ]; then + echo "[*] No config.json found — launching setup wizard ..." + "$VPY" setup.py +fi + echo echo "[*] Starting mhr-cfw ..." echo -exec "$VPY" main.py "$@" +exec "$VPY" main.py "$@" \ No newline at end of file