Skip to content

Commit 66a1c04

Browse files
committed
fix binary arch names
1 parent 173554d commit 66a1c04

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Coder-Desktop/Coder-Desktop/Coder_DesktopApp.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,13 @@ class AppDelegate: NSObject, NSApplicationDelegate {
4040
vpn.startWhenReady = true
4141
}
4242
vpn.installSystemExtension()
43+
#if arch(arm64)
44+
let mutagenBinary = "mutagen-darwin-arm64"
45+
#elseif arch(x86_64)
46+
let mutagenBinary = "mutagen-darwin-amd64"
47+
#endif
4348
fileSyncDaemon = MutagenDaemon(
44-
mutagenPath: Bundle.main.url(forResource: "mutagen-darwin-arm64", withExtension: nil)
49+
mutagenPath: Bundle.main.url(forResource: mutagenBinary, withExtension: nil)
4550
)
4651
}
4752

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy