mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00

This makes it so `zig build run` can take arguments such as `--config-default-files=false` or any other configuration. Previously, it only accepted commands such as `+version`. Incidentally, this also makes it so that the app in general can now take configuration arguments via the CLI if it is launched as a new instance via `open`. For example: open -n Ghostty.app --args --config-default-files=false This previously didn't work. This is kind of cool. To make this work, the libghostty C API was modified so that initialization requires the CLI args, and there is a new C API to try to execute an action if it was set.
105 lines
2.4 KiB
Plaintext
105 lines
2.4 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDocumentTypes</key>
|
|
<array>
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>command</string>
|
|
<string>tool</string>
|
|
<string>sh</string>
|
|
<string>zsh</string>
|
|
<string>csh</string>
|
|
<string>pl</string>
|
|
</array>
|
|
<key>CFBundleTypeIconFile</key>
|
|
<string>AppIcon.icns</string>
|
|
<key>CFBundleTypeName</key>
|
|
<string>Terminal scripts</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Editor</string>
|
|
</dict>
|
|
<dict>
|
|
<key>CFBundleTypeName</key>
|
|
<string>Folders</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Editor</string>
|
|
<key>LSHandlerRank</key>
|
|
<string>Alternate</string>
|
|
<key>LSItemContentTypes</key>
|
|
<array>
|
|
<string>public.directory</string>
|
|
</array>
|
|
</dict>
|
|
<dict>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Shell</string>
|
|
<key>LSItemContentTypes</key>
|
|
<array>
|
|
<string>public.unix-executable</string>
|
|
</array>
|
|
</dict>
|
|
</array>
|
|
<key>GhosttyBuild</key>
|
|
<string></string>
|
|
<key>GhosttyCommit</key>
|
|
<string></string>
|
|
<key>LSEnvironment</key>
|
|
<dict>
|
|
<key>GHOSTTY_MAC_LAUNCH_SOURCE</key>
|
|
<string>app</string>
|
|
</dict>
|
|
<key>MDItemKeywords</key>
|
|
<string>Terminal</string>
|
|
<key>NSHighResolutionCapable</key>
|
|
<true/>
|
|
<key>NSServices</key>
|
|
<array>
|
|
<dict>
|
|
<key>NSMenuItem</key>
|
|
<dict>
|
|
<key>default</key>
|
|
<string>New Ghostty Tab Here</string>
|
|
</dict>
|
|
<key>NSMessage</key>
|
|
<string>openTab</string>
|
|
<key>NSRequiredContext</key>
|
|
<dict>
|
|
<key>NSTextContent</key>
|
|
<string>FilePath</string>
|
|
</dict>
|
|
<key>NSSendTypes</key>
|
|
<array>
|
|
<string>NSFilenamesPboardType</string>
|
|
<string>public.plain-text</string>
|
|
</array>
|
|
</dict>
|
|
<dict>
|
|
<key>NSMenuItem</key>
|
|
<dict>
|
|
<key>default</key>
|
|
<string>New Ghostty Window Here</string>
|
|
</dict>
|
|
<key>NSMessage</key>
|
|
<string>openWindow</string>
|
|
<key>NSRequiredContext</key>
|
|
<dict>
|
|
<key>NSTextContent</key>
|
|
<string>FilePath</string>
|
|
</dict>
|
|
<key>NSSendTypes</key>
|
|
<array>
|
|
<string>NSFilenamesPboardType</string>
|
|
<string>public.plain-text</string>
|
|
</array>
|
|
</dict>
|
|
</array>
|
|
<key>SUEnableAutomaticChecks</key>
|
|
<false/>
|
|
<key>SUPublicEDKey</key>
|
|
<string>wsNcGf5hirwtdXMVnYoxRIX/SqZQLMOsYlD3q3imeok=</string>
|
|
</dict>
|
|
</plist>
|