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:
@@ -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): ✅ Working(portable 需先运行 setup.sh 下载 node-mac-x64)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user