mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-16 01:30:54 +03:00
fix macos, the 2nd
This commit is contained in:
@@ -47,7 +47,7 @@ pub async fn create(
|
||||
#[cfg(windows)]
|
||||
CaptureBackend::Windows => Ok(Box::new(windows::WindowsInputCapture::new())),
|
||||
#[cfg(target_os = "macos")]
|
||||
CaptureBackend::MacOs => Box::new(macos::MacOSInputCapture::new()?),
|
||||
CaptureBackend::MacOs => Ok(Box::new(macos::MacOSInputCapture::new()?)),
|
||||
CaptureBackend::Dummy => Ok(Box::new(dummy::DummyInputCapture::new())),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user