-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Hi,
The install script fails on my m2 mac because it fails to recognize the proc architecture.
Output of install.sh:
📦️ Installing:
_____ ______ ______
\__ \ \____ \____ \
/ __ \| |_> > |_> >
(____ / __/| __/
\/|__| |__|
🚀️ The Cross-Platform Package Management Assistant with Super Powers
🐧️ Detecting OS...
🍎️ MacOS
💻️ Detecting CPU arch...
🏰️: arm64
❌️ CPU Architecture not supported... Exiting...
=> Done.
This code is wrong:
CPUARCH=""
UNAMEM=$(uname -m)
echo -e "🏰️: $UNAMEM\n"
if [[ "$UNAMEM" == "x86_64" ]] || [[ "$UNAMEM" == "amd64" ]]; then
CPUARCH="amd64"
elif [[ "$UNAMEM" == "arm" ]]; then
CPUARCH="arm64"
else
echo -e "❌️ CPU Architecture not supported... Exiting...\n"
exit 1
fibecause MacOS returns arm64 for uname command:
$ uname -m
arm64
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed