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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user