mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-14 11:39:04 +08:00
16 lines
425 B
Swift
16 lines
425 B
Swift
import Cocoa
|
|
import FlutterMacOS
|
|
|
|
@NSApplicationMain
|
|
class AppDelegate: FlutterAppDelegate {
|
|
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
|
dummy_method_to_enforce_bundling()
|
|
return true
|
|
}
|
|
|
|
override func applicationShouldOpenUntitledFile(_ sender: NSApplication) -> Bool {
|
|
handle_applicationShouldOpenUntitledFile();
|
|
return true
|
|
}
|
|
}
|