mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 05:06:24 +03:00

This approach uses Xcode's Info.plist preprocessing to conditionally set `SUEnableAutomaticChecks=false` for the Debug and Release build schemes. It is unset for the ReleaseLocal scheme. When this Info.plist key is explicitly set to false (as it is for these build schemes), we disable auto-updates at runtime. Otherwise, we apply the behavior defined by our "auto-update" configuration.
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_APP</key>
|
|
<string>1</string>
|
|
</dict>
|
|
<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>
|
|
#if SPARKLE_CHECKS_DISABLED
|
|
<key>SUEnableAutomaticChecks</key>
|
|
<false/>
|
|
#endif
|
|
<key>SUPublicEDKey</key>
|
|
<string>wsNcGf5hirwtdXMVnYoxRIX/SqZQLMOsYlD3q3imeok=</string>
|
|
</dict>
|
|
</plist>
|