fix: point local network permission to correct mac settings

This commit is contained in:
AI Bot
2026-05-13 01:13:40 +08:00
parent 842c2249a1
commit feba68ac2b
3 changed files with 7 additions and 2 deletions

View File

@@ -357,7 +357,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, WKNavigationDelegate {
"notifications": "x-apple.systempreferences:com.apple.Notifications-Settings.extension",
"microphone": "x-apple.systempreferences:com.apple.preference.security?Privacy_Microphone",
"camera": "x-apple.systempreferences:com.apple.preference.security?Privacy_Camera",
"localNetwork": "x-apple.systempreferences:com.apple.preference.security?Privacy_LocalNetwork",
"localNetwork": "x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension?privacy-localnetwork",
]
return URL(string: mapping[target] ?? mapping["all"]!)
}