add "Set Ghostty as Default Terminal App" on macOS

This commit is contained in:
Mahno Kropotkinvich
2026-02-17 16:05:17 +08:00
committed by Mitchell Hashimoto
parent b6dbd445d0
commit aee80d208d
5 changed files with 66 additions and 0 deletions

View File

@@ -26,4 +26,5 @@ extension NSWorkspace {
guard let uti = UTType(filenameExtension: ext) else { return nil}
return defaultApplicationURL(forContentType: uti.identifier)
}
}