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