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

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