15 lines
316 B
Bash
Executable File
15 lines
316 B
Bash
Executable File
#!/bin/bash
|
|
Application="/Applications/Firefox.app/Contents/MacOS/firefox"
|
|
|
|
#Application="/Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher"
|
|
arch=$(lipo -archs $Application | grep "arm64" | awk '{print $NF}')
|
|
|
|
|
|
if [[ $arch == "arm64" ]]
|
|
then
|
|
echo "App ist für M1"
|
|
else
|
|
echo "App ist für intel "
|
|
fi
|
|
|