Hide connections page by default since unstable

This commit is contained in:
世界
2024-10-06 21:41:14 +08:00
parent 0a456131ea
commit 5e2af0a5c7
10 changed files with 27 additions and 22 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import SwiftUI
@main
struct Application: App {
@NSApplicationDelegateAdaptor private var appDelegate: IndependentApplicationDelegate
@NSApplicationDelegateAdaptor private var appDelegate: StandaloneApplicationDelegate
var body: some Scene {
MacApplication()
@@ -3,9 +3,10 @@ import Foundation
import Library
import MacLibrary
class IndependentApplicationDelegate: ApplicationDelegate {
class StandaloneApplicationDelegate: ApplicationDelegate {
public func applicationWillFinishLaunching(_: Notification) {
Variant.useSystemExtension = true
Variant.isBeta = false
Task {
await setupSystemExtension()
}