From 9b233b2d47a9b4a007423e90df4da910ef2be5ec Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Tue, 21 May 2024 11:00:03 -0700 Subject: [PATCH] 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. --- macos/Ghostty-Info.plist | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/macos/Ghostty-Info.plist b/macos/Ghostty-Info.plist index 4882d5b8c..4079669da 100644 --- a/macos/Ghostty-Info.plist +++ b/macos/Ghostty-Info.plist @@ -33,6 +33,14 @@ public.directory + + CFBundleTypeRole + Shell + LSItemContentTypes + + public.unix-executable + + LSEnvironment