-
-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: Suggestion to add shell script as a way to open git-cola on mac #1400
Comments
Thanks for the sug. I'll have to look into this. The current The homebrew folks didn't let me add the If you want to try building it, I'd probably still want to offer a standalone version (e.g. |
@davvid, could you elaborate this one, please? Is it also applicable to https://github.com/Homebrew/homebrew-cask or you haven't considered that yet? |
Here is an example of Bitwarden being added to cask repo Homebrew/homebrew-cask#44084 |
The issue I'm referring to is #1322. Thanks for the offer, @kopach that'd be great if we could maybe get a github action to build the app bundle and have that accepted as a separate, differently-named cask. Now, I will say that I want the ideal situation. git-cola has been in homebrew for a long time, back before casks existed. My definition of "ideal" is that users could just upgrade their existing install and they'd get the app bundle. Similarly, new users should be able to simply The linked issue above is where I attempted to update the existing git-cola formula to include the app bundle and they rejected it. I suspect that the only thing they might accept is something silly like a separate That said, if they'd accept that then it's better than nothing. I don't want to disrupt the current formula or make it unavailable (or transfer it to a cask). I want both the command-line tools and the app bundle launcher, but homebrew follows some strict policy where they don't allow that for some silly reason, users be damned. |
Currently in order to open git-cola on Mac not from terminal - we need to build a binary. Problem with this solution is that such app can become outdated while CLI version can be easily kept up to date with regular scheduled brew update
The solution for this - using shell script instead. Using Mac native
![image](https://private-user-images.githubusercontent.com/8749624/336797478-1bacaaa1-711b-471b-8bc5-f55f19cde2f0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MzM1OTMsIm5iZiI6MTcyNDQzMzI5MywicGF0aCI6Ii84NzQ5NjI0LzMzNjc5NzQ3OC0xYmFjYWFhMS03MTFiLTQ3MWItOGJjNS1mNT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zI0ODg4ZGRmMmE0MzcwNzNiMGU3ZmNjNWZkNzFjMjdmYjdlZThmNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.V764KtaHxdr5SnqHTy9MpwdgyiNZtkFKHTwPBKD-E3g)
Automator
app we can create Application which will run shell scriptWe can name such app
Git-Cola
, assign logo to such app and it won't be outdated.Here is a script to place into automator. It will open git-cola or will bring it to the front if it's already open
I suspect, we can even automate such Automator action somehow (something to check)
Another option (for users of Alfred or Raycast) - such script can be added directly to those apps as custom scripts/workflows
The text was updated successfully, but these errors were encountered: