在准备环境前提交次全部更改。
This commit is contained in:
9
start-admin.bat
Normal file
9
start-admin.bat
Normal file
@@ -0,0 +1,9 @@
|
||||
@echo off
|
||||
chcp 65001 >nul 2>&1
|
||||
:: 拉起 ps1 脚本(优先 pwsh 7,回退 powershell 5.1)
|
||||
where pwsh >nul 2>&1
|
||||
if %errorlevel%==0 (
|
||||
start "NeoZQYY Launcher" pwsh -ExecutionPolicy Bypass -File "%~dp0scripts\ops\start-admin.ps1"
|
||||
) else (
|
||||
start "NeoZQYY Launcher" powershell -ExecutionPolicy Bypass -File "%~dp0scripts\ops\start-admin.ps1"
|
||||
)
|
||||
Reference in New Issue
Block a user