Fix directory when running as administrator (#1009)

* Update install-windows.bat

* Update s-ui-windows.bat

* Update install-windows.bat

* Update build-windows.bat
This commit is contained in:
Seva
2026-02-18 02:26:16 +07:00
committed by GitHub
parent dd07abf501
commit 083f19324f
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ setlocal enabledelayedexpansion
REM S-UI Windows Control Script
REM This script provides a menu-driven interface for managing S-UI on Windows
cd /d "%~dp0"
set "SERVICE_NAME=s-ui"
set "INSTALL_DIR=%SUI_HOME%"
if "%INSTALL_DIR%"=="" set "INSTALL_DIR=C:\Program Files\s-ui"