Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

make macOS builder happy

ErBW_sf56d94bdfcfe
diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift
index 9f5c08f9..b08bfcd6 100644
--- a/macos/Runner/AppDelegate.swift
+++ b/macos/Runner/AppDelegate.swift
@@ -9,6 +9,10 @@ class AppDelegate: FlutterAppDelegate {
return true
}
+ override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
+ return true
+ }
+
var playerView: AVPlayerView!
var player: AVPlayer?
var videoUrl: URL?