feat(updater): add zero-dependency local auto-updater and build bootstrap

This commit is contained in:
CAtlas0784 committed 2026-10-30 21:24:42 +07:00
1 parent e024bc5252
commit 0ec9f62857
5 files changed
+262 -15

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
@echo off
chcp 65001 >nul
title 🚀 G-Launcher Auto-Updater & Local Builder
cd /d "%~dp0"
echo ==========================================================
echo 🚀 เริ่มต้นระบบอัปเดตและคอมไพล์ G-Launcher
echo ==========================================================
echo.
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\bootstrap.ps1" %*
if errorlevel 1 (
echo.
echo ❌ มีข้อผิดพลาดเกิดขึ้นระหว่างการทำงาน!
pause
exit /b 1
)
echo.
echo กดปุ่มใดก็ได้เพื่อปิดหน้าต่างนี้...
pause >nul