Prepare system extension support

This commit is contained in:
世界
2023-07-24 20:08:02 +08:00
parent 8a5c1a80d1
commit 12bf02070e
44 changed files with 1469 additions and 382 deletions
+16
View File
@@ -0,0 +1,16 @@
import Library
import MacLibrary
import SwiftUI
@main
struct Application: App {
@NSApplicationDelegateAdaptor private var appDelegate: ApplicationDelegate
init() {
Variant.useSystemExtension = true
}
var body: some Scene {
MacApplication()
}
}