feat: add Intel Mac (x64) support in Mac-Start.command

Co-authored-by: Zhangchen <2hangchen@users.noreply.github.com>
Closes #6
This commit is contained in:
dongsheng123132
2026-03-13 19:02:11 +08:00
parent 7766d59e55
commit e4c8e7550a
2 changed files with 5 additions and 3 deletions

View File

@@ -91,4 +91,4 @@ Release artifacts go to GitHub Releases, not the repo.
- Windows x64: 🚧 In development - Windows x64: 🚧 In development
- Linux x86_64: ✅ Working (scripts + live USB mode) - Linux x86_64: ✅ Working (scripts + live USB mode)
- Linux ARM64: ✅ Working (scripts) - Linux ARM64: ✅ Working (scripts)
- Mac Intel (x64): ❌ Not yet - Mac Intel (x64): ✅ Workingportable 需先运行 setup.sh 下载 node-mac-x64

View File

@@ -30,9 +30,11 @@ ARCH=$(uname -m)
if [ "$ARCH" = "arm64" ]; then if [ "$ARCH" = "arm64" ]; then
NODE_DIR="$APP_DIR/runtime/node-mac-arm64" NODE_DIR="$APP_DIR/runtime/node-mac-arm64"
echo -e " ${GREEN}Apple Silicon (M series)${NC}" echo -e " ${GREEN}Apple Silicon (M series)${NC}"
elif [ "$ARCH" = "x86_64" ]; then
NODE_DIR="$APP_DIR/runtime/node-mac-x64"
echo -e " ${GREEN}Intel Mac (x64)${NC}"
else else
echo -e " ${RED}This version only supports Apple Silicon (M1-M4).${NC}" echo -e " ${RED}Unsupported architecture: $ARCH${NC}"
echo -e " ${RED}Intel Mac is not supported in this release.${NC}"
echo "" echo ""
read -p " Press Enter to exit..." read -p " Press Enter to exit..."
exit 1 exit 1