Try to weak-link ScreenCaptureKit always (#28585)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
parent
66b3e03baa
commit
c2e3134963
5 changed files with 8 additions and 12 deletions
|
@ -1568,7 +1568,7 @@ extern "C" fn window_will_exit_fullscreen(this: &Object, _: Sel, _: id) {
|
|||
}
|
||||
}
|
||||
|
||||
fn is_macos_version_at_least(version: NSOperatingSystemVersion) -> bool {
|
||||
pub(crate) fn is_macos_version_at_least(version: NSOperatingSystemVersion) -> bool {
|
||||
unsafe { NSProcessInfo::processInfo(nil).isOperatingSystemAtLeastVersion(version) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue