From 3a5668734e2177781581f5b1f3b658dd8e3fe915 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 22 Jun 2022 12:34:53 -0700 Subject: [PATCH] mac arm64 --- LIBCWTCH-GO-MACOS.version | 2 +- fetch-libcwtch-go-macos.sh | 2 +- lib/cwtch/ffi.dart | 2 +- macos/package-release.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LIBCWTCH-GO-MACOS.version b/LIBCWTCH-GO-MACOS.version index d4f1391e..38206807 100644 --- a/LIBCWTCH-GO-MACOS.version +++ b/LIBCWTCH-GO-MACOS.version @@ -1 +1 @@ -2022-06-21-18-44-1.7.1-2-gff23465 \ No newline at end of file +2022-06-22-15-36-1.7.1-10-g231e27d \ No newline at end of file diff --git a/fetch-libcwtch-go-macos.sh b/fetch-libcwtch-go-macos.sh index 55243920..7f198f27 100755 --- a/fetch-libcwtch-go-macos.sh +++ b/fetch-libcwtch-go-macos.sh @@ -4,5 +4,5 @@ VERSION=`cat LIBCWTCH-GO-MACOS.version` echo $VERSION curl https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.x64.dylib --output libCwtch.x64.dylib -curl https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.arm.dylib --output libCwtch.arm.dylib +curl https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.arm64.dylib --output libCwtch.arm64.dylib diff --git a/lib/cwtch/ffi.dart b/lib/cwtch/ffi.dart index 45e17b24..758bdbc9 100644 --- a/lib/cwtch/ffi.dart +++ b/lib/cwtch/ffi.dart @@ -123,7 +123,7 @@ class CwtchFfi implements Cwtch { if (Abi.current() == Abi.macosX64) { return "libCwtch.x64.dylib"; } else { - return "libCwtch.arm.dylib"; + return "libCwtch.arm64.dylib"; } } else { return UNSUPPORTED_OS; diff --git a/macos/package-release.sh b/macos/package-release.sh index 2520b9d8..2e244c0d 100755 --- a/macos/package-release.sh +++ b/macos/package-release.sh @@ -3,7 +3,7 @@ # Run from SRCROOT cp libCwtch.x64.dylib build/macos/Build/Products/Release/Cwtch.app/Contents/Frameworks/ -cp libCwtch.arm.dylib build/macos/Build/Products/Release/Cwtch.app/Contents/Frameworks/ +cp libCwtch.arm64.dylib build/macos/Build/Products/Release/Cwtch.app/Contents/Frameworks/ cp -r macos/Tor build/macos/Build/Products/Release/Cwtch.app/Contents/MacOS/ rm Cwtch.dmg