This commit is contained in:
anlicheng 2026-04-29 15:12:26 +08:00
parent b0172444c6
commit 5fe503b53c

View File

@ -49,6 +49,7 @@ struct MainMenuBar: View {
Button("打开控制面板") {
openWindow(id: "main")
NSApp.activate(ignoringOtherApps: true)
}
SettingsLink {
@ -57,12 +58,11 @@ struct MainMenuBar: View {
.buttonStyle(.plain)
Divider()
Button(action: {
Button("退出应用") {
NSApplication.shared.terminate(nil)
}, label: {
Text("退出应用")
})
}
}
}