feat(updater): add zero-dependency local auto-updater and build bootstrap
This commit is contained in:
1 parent
e024bc5252
commit
0ec9f62857
5 files changed
+262
-15
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user