mac arm64
continuous-integration/drone/pr Build is running Details

macarm
Dan Ballard 8 months ago
parent a6406e9068
commit 3a5668734e

@ -1 +1 @@
2022-06-21-18-44-1.7.1-2-gff23465
2022-06-22-15-36-1.7.1-10-g231e27d

@ -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

@ -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;

@ -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

Loading…
Cancel
Save