Merge pull request #4341 from rustdesk/revert-4290-rustdesk-rustdesk

Revert "Update MainFlutterWindow.swift"
This commit is contained in:
RustDesk 2023-05-12 13:24:31 +08:00 committed by GitHub
commit 21438016bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ class MainFlutterWindow: NSWindow {
// Register the plugin which you want access from other isolate. // Register the plugin which you want access from other isolate.
// DesktopLifecyclePlugin.register(with: controller.registrar(forPlugin: "DesktopLifecyclePlugin")) // DesktopLifecyclePlugin.register(with: controller.registrar(forPlugin: "DesktopLifecyclePlugin"))
self.setMethodHandler(registrar: controller.registrar(forPlugin: "RustDeskPlugin")) self.setMethodHandler(registrar: controller.registrar(forPlugin: "RustDeskPlugin"))
// Disable desktop_drop for now: DesktopDropPlugin.register(with: controller.registrar(forPlugin: "DesktopDropPlugin")) DesktopDropPlugin.register(with: controller.registrar(forPlugin: "DesktopDropPlugin"))
DeviceInfoPlusMacosPlugin.register(with: controller.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) DeviceInfoPlusMacosPlugin.register(with: controller.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
FlutterCustomCursorPlugin.register(with: controller.registrar(forPlugin: "FlutterCustomCursorPlugin")) FlutterCustomCursorPlugin.register(with: controller.registrar(forPlugin: "FlutterCustomCursorPlugin"))
FLTPackageInfoPlusPlugin.register(with: controller.registrar(forPlugin: "FLTPackageInfoPlusPlugin")) FLTPackageInfoPlusPlugin.register(with: controller.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))