fix: add migration shim to Menu and Diagnose scripts
Mac-Menu, Mac-Diagnose, and Windows-Diagnose were missing the core-mac/core-win → core migration shim, causing them to fail on existing USB drives that still have the old directory name.
This commit is contained in:
@@ -35,6 +35,9 @@ if exist "%NODE_BIN%" (
|
||||
set /a ERROR_COUNT+=1
|
||||
)
|
||||
|
||||
REM Migration shim: rename old core-win to core for existing USB users
|
||||
if exist "%UCLAW_DIR%app\core-win" if not exist "%UCLAW_DIR%app\core" ren "%UCLAW_DIR%app\core-win" core
|
||||
|
||||
REM 2. Check core directory
|
||||
echo [2/6] 检查 Windows 依赖目录...
|
||||
set "CORE_DIR=%UCLAW_DIR%app\core"
|
||||
|
||||
Reference in New Issue
Block a user