diff --git a/src/platform/windows.cc b/src/platform/windows.cc index 3a3ed437d..25372b218 100644 --- a/src/platform/windows.cc +++ b/src/platform/windows.cc @@ -637,6 +637,7 @@ extern "C" extern "C" { + // https://learn.microsoft.com/en-us/windows/win32/sysinfo/targeting-your-application-at-windows-8-1 // https://github.com/nodejs/node-convergence-archive/blob/e11fe0c2777561827cdb7207d46b0917ef3c42a7/deps/uv/src/win/util.c#L780 BOOL IsWindowsVersionOrGreater(DWORD os_major, DWORD os_minor, diff --git a/src/privacy_mode/win_exclude_from_capture.rs b/src/privacy_mode/win_exclude_from_capture.rs index 2f73f49b9..0bb81f693 100644 --- a/src/privacy_mode/win_exclude_from_capture.rs +++ b/src/privacy_mode/win_exclude_from_capture.rs @@ -7,11 +7,3 @@ pub(super) fn is_supported() -> bool { // https://en.wikipedia.org/wiki/Windows_10_version_history crate::platform::windows::is_windows_version_or_greater(10, 0, 19041, 0, 0) } - -#[cfg(test)] -mod tests { - #[test] - fn test_is_support() { - println!("is exclude from capture supported: {}", super::is_supported()); - } -}