Update MainFlutterWindow.swift

fix macOS build after
https://github.com/rustdesk/rustdesk/commit/1753bd9dceb87df52a8ef0d86e6c7a0575f068dc
forgot about line 42:
DesktopDropPlugin ...
This commit is contained in:
deep-soft
2023-05-06 14:00:54 +03:00
committed by GitHub
parent b3e851e67f
commit c1f40fd045
+1 -1
View File
@@ -39,7 +39,7 @@ class MainFlutterWindow: NSWindow {
// Register the plugin which you want access from other isolate.
// DesktopLifecyclePlugin.register(with: controller.registrar(forPlugin: "DesktopLifecyclePlugin"))
self.setMethodHandler(registrar: controller.registrar(forPlugin: "RustDeskPlugin"))
DesktopDropPlugin.register(with: controller.registrar(forPlugin: "DesktopDropPlugin"))
// Disable desktop_drop for now: DesktopDropPlugin.register(with: controller.registrar(forPlugin: "DesktopDropPlugin"))
DeviceInfoPlusMacosPlugin.register(with: controller.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
FlutterCustomCursorPlugin.register(with: controller.registrar(forPlugin: "FlutterCustomCursorPlugin"))
FLTPackageInfoPlusPlugin.register(with: controller.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))