Skip to content

Commit 696c5f2

Browse files
committed
fix: macOS/Windows build
1 parent 6782d64 commit 696c5f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/application/main_window.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,5 @@ fn daemon() -> Backend {
299299

300300
#[cfg(not(target_os = "linux"))]
301301
fn daemon() -> Rc<dyn Daemon> {
302-
let server = DaemonServer::new_stdio().expect("Failed to create server");
303-
Rc::new(server)
302+
Backend::new().expect("Failed to create server")
304303
}

0 commit comments

Comments
 (0)