mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-02 20:28:41 +03:00

The auto-update prompt isn't useful for local (source) builds so disable both update checks and automatic downloads. There are multiple ways we could check if we've been built for source, but the easiest and least intrusive approach is to check the value of the 'GhosttyCommit' Info.plist key. Because it is only set as part of the release build process, an empty key implies that we've been build from source.