data-setup
data-setup copied to clipboard
Check m1 only on macOS devices
This check script is used for windows and linux as well. On these systems running sysctl -in sysctl.proc_translated
can result in sysctl: invalid option -- 'i'
Either way checking for m1 should only happen on macOS anyways.