#!/bin/zsh
clang -target x86_64-apple-macos12.7 -o root_helper_x86 root_helper.c
clang -target arm64-apple-macos12.7 -o root_helper_arm64 root_helper.c

lipo -create root_helper_x86 root_helper_arm64 -output root_helper
rm -rf root_helper_x86
rm -rf root_helper_arm64
