From 7576bf1acd3d7a950e8a5cf597f9232307749876 Mon Sep 17 00:00:00 2001 From: anthroposcene Date: Wed, 29 Apr 2026 02:52:30 -0700 Subject: [PATCH] Update run.sh --- run.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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