@echo off chcp 65001 >nul set SRC=https://srv1361159.hstgr.cloud set ROOT=%~dp0.. echo Sync from production... echo. curl -fsSL "%SRC%/app-base.js" -o "%ROOT%\app-base.js" || goto fail curl -fsSL "%SRC%/Create%%20Room/jd-local-dev.js" -o "%~dp0jd-local-dev.js" || goto fail curl -fsSL "%SRC%/Create%%20Room/create-room.js" -o "%~dp0create-room.js" || goto fail curl -fsSL "%SRC%/Create%%20Room/index.html" -o "%~dp0index.html" || goto fail if not exist "%ROOT%\Game\js" mkdir "%ROOT%\Game\js" curl -fsSL "%SRC%/Game/js/game-http-base.js" -o "%ROOT%\Game\js\game-http-base.js" || goto fail echo. echo OK — Ctrl+Shift+R ที่ Create Room pause exit /b 0 :fail echo Download failed. Run FIX-NOW.bat instead (only app-base.js). pause exit /b 1