mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-08 10:54:50 +00:00
26 lines
768 B
Swift
26 lines
768 B
Swift
import SwiftUI
|
|
|
|
struct AboutScenes: Scene {
|
|
let windowActivation: WindowActivationPolicyCoordinator
|
|
|
|
var body: some Scene {
|
|
Window("关于 ShadowsocksX-NG2", id: AboutView.sceneID) {
|
|
AboutView()
|
|
.modifier(WindowActivationPolicy(coordinator: windowActivation))
|
|
}
|
|
.defaultLaunchBehavior(.suppressed)
|
|
.restorationBehavior(.disabled)
|
|
.commandsRemoved()
|
|
.windowResizability(.contentSize)
|
|
|
|
Window("第三方组件与许可证", id: ThirdPartyComponentsView.sceneID) {
|
|
ThirdPartyComponentsView()
|
|
.modifier(WindowActivationPolicy(coordinator: windowActivation))
|
|
}
|
|
.defaultLaunchBehavior(.suppressed)
|
|
.restorationBehavior(.disabled)
|
|
.commandsRemoved()
|
|
.defaultSize(width: 1000, height: 680)
|
|
}
|
|
}
|