mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-04 21:04:41 +00:00
macos: the approval dialog is now forever
This commit is contained in:
@@ -46,8 +46,9 @@ func requestIntentPermission() async -> Bool {
|
||||
|
||||
PermissionRequest.show(
|
||||
"org.mitchellh.ghostty.shortcutsPermission",
|
||||
message: "Allow Shortcuts to interact with Ghostty for the next 10 minutes?",
|
||||
allowDuration: .seconds(600),
|
||||
message: "Allow Shortcuts to interact with Ghostty?",
|
||||
allowDuration: .forever,
|
||||
rememberDuration: nil,
|
||||
) { response in
|
||||
continuation.resume(returning: response)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user