refactor: module-based strategy architecture
- Add sync_from_upstream.sh: clones Flowseal repo, merges lists/hosts, auto-detects new .bat strategies - Add strategies/*.conf config files (extracted from .bat) - Rewrite run_strategy.sh: loads .conf, substitutes %BIN%/%LISTS%/%GAME_*% using sed (no envsubst) - Rewrite update.sh: pipeline is now sync→rebuild→test→install - Add ensure_wrappers.sh: auto-creates general_*.sh wrappers from .conf - Fix all 'local outside function' runtime bugs - install.sh now calls sync_from_upstream.sh first
This commit is contained in:
@@ -30,6 +30,9 @@ if [[ "${ans:-Y}" != [yY]* ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Step 0: Sync upstream lists and strategies
|
||||
bash "$SCRIPT_DIR/sync_from_upstream.sh" || true
|
||||
|
||||
# Step 1: Setup
|
||||
echo ""
|
||||
echo "[*] Step 1/4: Running setup..."
|
||||
|
||||
Reference in New Issue
Block a user