aboutsummaryrefslogtreecommitdiff
path: root/distribution/macos/shortcut-launch-script.sh
blob: 784d780aa26aedd3ab66df8c6d8f9c2d28253b34 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh
launch_arch="$(uname -m)"
if [ "$(sysctl -in sysctl.proc_translated)" = "1" ]
then
    launch_arch="arm64"
fi

arch -$launch_arch {0} {1}