OpenInTerminal icon indicating copy to clipboard operation
OpenInTerminal copied to clipboard

feat: Add GitKraken support with custom path arguments

Open dotWee opened this issue 8 months ago • 0 comments

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

Screenshot 2025-04-26 at 03 09 09

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! ;)

dotWee avatar Apr 26 '25 01:04 dotWee