feat: Add GitKraken support with custom path arguments
Summary of this pull request
Adds support for opening repositories in GitKraken using the --path argument.
The implementation follows the pattern used by other custom terminal apps like neovim and kitty. GitKraken requires special handling to properly open repositories with the correct path argument.
Key changes:
- Added GitKraken to supported terminal applications
- Implemented custom command handling for GitKraken paths
- Added bundle identifier for GitKraken app detection
- Made command configurable through user defaults like other terminals
Users can now open folders directly in GitKraken from Finder using the context menu or toolbar. The implementation preserves path escaping and handles spaces in paths correctly.
Custom command configuration allows users to modify the launch behavior if needed.
Does this solve an existing issue? If so, add a link to it
Fixes #233.
Steps to test this feature
- Install GitKraken.
- Build OpenInTerminal from sources.
- Check if GitKraken is available within OpenInTerminal available apps list.
Screenshots
Additional info
On a different note, thank you @Ji4n1ng for your open source work! Your work is really appreciated!
Maybe think about adding a buymeacoffee.com link to your profile, and your next coffee/beer is on me! ;)