cleanup: remove Linux scripts, unify core dir, fix Intel Mac bug

- Delete usb-scripts/, Linux-*.sh, setup-linux-usb.sh, migrate.js
- Rename core-mac/core-win → core (with migration shims for existing USBs)
- Fix Mac-Menu.command ARM64 hardcode — now detects Intel/Apple Silicon
- setup.sh: remove Linux branch, Windows download only with --all-platforms
- Update README.md and CLAUDE.md to reflect Mac + Windows only
This commit is contained in:
dongsheng123132
2026-03-14 00:08:56 +08:00
parent aa14c8528e
commit 4fcd22d4e3
18 changed files with 101 additions and 1390 deletions

View File

@@ -35,14 +35,14 @@ if exist "%NODE_BIN%" (
set /a ERROR_COUNT+=1
)
REM 2. Check core-win directory
REM 2. Check core directory
echo [2/6] 检查 Windows 依赖目录...
set "CORE_DIR=%UCLAW_DIR%app\core-win"
set "CORE_DIR=%UCLAW_DIR%app\core"
if exist "%CORE_DIR%" (
echo [OK] core-win directory exists >> "%LOG_FILE%"
echo [OK] core directory exists >> "%LOG_FILE%"
echo ✓ Windows 依赖目录: 正常
) else (
echo [ERROR] core-win directory not found >> "%LOG_FILE%"
echo [ERROR] core directory not found >> "%LOG_FILE%"
echo ✗ Windows 依赖目录: 缺失
set /a ERROR_COUNT+=1
)