Fuck you Tim Apple

This commit is contained in:
2024-04-17 18:37:39 -06:00
parent 475d6707e3
commit b5d5f472ba
17 changed files with 29 additions and 34 deletions

View File

@ -20,32 +20,25 @@ case $OS in
;;
esac
# For macOS, we use a single binary called 'macos'
if [ "$OS" = "macos" ]; then
BINARY="./tw/macos"
case $ARCH in
"x86_64")
ARCH="x64"
;;
"arm64")
ARCH="arm64"
;;
*)
echo "Unsupported architecture: $ARCH"
exit 1
;;
esac
# Construct the binary file name
BINARY="./tw/${OS}-${ARCH}"
if [ "$OS" = "windows" ]; then
BINARY="${BINARY}.exe"
else
# Set execute permissions on the binary
chmod +x $BINARY
else
case $ARCH in
"x86_64")
ARCH="x64"
;;
"arm64")
ARCH="arm64"
;;
*)
echo "Unsupported architecture: $ARCH"
exit 1
;;
esac
# Construct the binary file name
BINARY="./tw/${OS}-${ARCH}"
if [ "$OS" = "windows" ]; then
BINARY="${BINARY}.exe"
else
# Set execute permissions on the binary
chmod +x $BINARY
fi
fi
echo $BINARY

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.