Skip to content

Commit 70988aa

Browse files
Unbreak macOS arm64 build
Might need more work but at least it doesn't error
1 parent 5115898 commit 70988aa

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

scripts/download-CanBridge.mjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,7 @@ function moveRuntimeDeps() {
106106
deps.forEach(dep => moveRuntimeArtifactsDeps(path.join('win32-x64', dep), runtimeArtifactsPath.win));
107107
} else if (platform() === 'darwin') {
108108
const deps = ['libCANBridge.dylib', 'libwpiHal.dylib', 'libwpiutil.dylib'];
109-
if (arch() === 'x64') {
110-
deps.forEach(dep => moveRuntimeArtifactsDeps(path.join('darwin-x64', dep), runtimeArtifactsPath.osx));
111-
}
112-
if (arch() === 'arm64') {
113-
deps.forEach(dep => moveRuntimeArtifactsDeps(path.join('darwin-arm64', dep), runtimeArtifactsPath.osxArm));
114-
}
109+
deps.forEach(dep => moveRuntimeArtifactsDeps(path.join('darwin-x64', dep), runtimeArtifactsPath.osx));
115110
} else if (platform() === 'linux') {
116111
const deps = ['libCANBridge.so', 'libwpiHal.so', 'libwpiutil.so'];
117112
if (arch() === 'x64') {

0 commit comments

Comments
 (0)