From c1f40fd0458e764c66ead2b1562a8a6540e75b4b Mon Sep 17 00:00:00 2001 From: deep-soft Date: Sat, 6 May 2023 14:00:54 +0300 Subject: [PATCH] Update MainFlutterWindow.swift fix macOS build after https://github.com/rustdesk/rustdesk/commit/1753bd9dceb87df52a8ef0d86e6c7a0575f068dc forgot about line 42: DesktopDropPlugin ... --- flutter/macos/Runner/MainFlutterWindow.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/macos/Runner/MainFlutterWindow.swift b/flutter/macos/Runner/MainFlutterWindow.swift index e4e6fd897..1ae7398b0 100644 --- a/flutter/macos/Runner/MainFlutterWindow.swift +++ b/flutter/macos/Runner/MainFlutterWindow.swift @@ -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"))