diff --git a/MoeStreamer.xcodeproj/project.pbxproj b/MoeStreamer.xcodeproj/project.pbxproj index 0205e7c..c816624 100644 --- a/MoeStreamer.xcodeproj/project.pbxproj +++ b/MoeStreamer.xcodeproj/project.pbxproj @@ -673,7 +673,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = 0.17.8; + MARKETING_VERSION = 0.17.9; PRODUCT_BUNDLE_IDENTIFIER = com.zhiayang.MoeStreamer; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = ""; @@ -708,7 +708,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = 0.17.8; + MARKETING_VERSION = 0.17.9; PRODUCT_BUNDLE_IDENTIFIER = com.zhiayang.MoeStreamer; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = ""; diff --git a/MoeStreamer/src/ui/ViewController.swift b/MoeStreamer/src/ui/ViewController.swift index 3576de5..63ec68e 100644 --- a/MoeStreamer/src/ui/ViewController.swift +++ b/MoeStreamer/src/ui/ViewController.swift @@ -128,7 +128,7 @@ class ViewController : NSObject, NSPopoverDelegate popover.behavior = .transient popover.delegate = self - if #available(macOS 11.0, *) + if #unavailable(macOS 11.0) { popover.keydownHandler = { (event) in switch event.characters?.first?.asciiValue