macos: Declare Ghostty as a Shell

tbh I'm not exactly sure what this does, but Kitty/Hyper/iTerm2 all
declare this.

https://github.com/kovidgoyal/kitty/blob/master/setup.py#L1419-L1422
https://gitlab.com/gnachman/iterm2/-/blob/master/plists/release-iTerm2.plist#L120-127
https://github.com/vercel/hyper/blob/master/electron-builder.json#L72-L79

I'm trying to get Ghostty to work correctly with OrbStack: https://github.com/orbstack/orbstack/issues/1012

And this stood out as the biggest difference.
This commit is contained in:
Matt Robenolt
2024-05-21 11:00:03 -07:00
parent 9ad598facf
commit 9b233b2d47

View File

@ -33,6 +33,14 @@
<string>public.directory</string> <string>public.directory</string>
</array> </array>
</dict> </dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Shell</string>
<key>LSItemContentTypes</key>
<array>
<string>public.unix-executable</string>
</array>
</dict>
</array> </array>
<key>LSEnvironment</key> <key>LSEnvironment</key>
<dict> <dict>