开发机迁移

This commit is contained in:
Neo
2026-04-10 06:24:13 +08:00
parent f65c1d038b
commit 79d3c2e97e
50 changed files with 1565 additions and 318 deletions

12
start-admin.bat Normal file
View File

@@ -0,0 +1,12 @@
@echo off
chcp 65001 >nul 2>&1
:: CHANGE 2026-03-07 | 注入 NEOZQYY_LAUNCH_DIR%~dp0 不穿透 junction
:: ps1 脚本用它定位项目根目录,避免 PowerShell 路径解析到 D 盘
set "NEOZQYY_LAUNCH_DIR=%~dp0"
:: 拉起 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"
)