Skip to content

Commit

Permalink
Merge pull request #6 from kuuji/feat/target-darwin-arm64
Browse files Browse the repository at this point in the history
fix check for supported to add darwin64
  • Loading branch information
kuuji authored Oct 12, 2022
2 parents 9f5f36a + 17c29c2 commit 441f904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fi
# verifySupported checks that the os/arch combination is supported for
# binary builds.
verifySupported() {
supported="Darwin-x86_64\nLinux-arm64\nLinux-armv6\nLinux-i386\nLinux-x86_64\nWindows-arm64\nWindows-armv6\nWindows-i386\nWindows-x86_64"
supported="Darwin-x86_64\nLinux-arm64\nLinux-armv6\nLinux-i386\nLinux-x86_64\nWindows-arm64\nWindows-armv6\nWindows-i386\nWindows-x86_64\nDarwin-arm64"
if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then
echo "No prebuild binary for ${OS}-${ARCH}."
exit 1
Expand Down

0 comments on commit 441f904

Please sign in to comment.