Skip to content
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

Support for easy registration using URL scheme #22

Closed
ayufan opened this issue Apr 12, 2015 · 2 comments
Closed

Support for easy registration using URL scheme #22

ayufan opened this issue Apr 12, 2015 · 2 comments

Comments

@ayufan
Copy link

ayufan commented Apr 12, 2015

It would be nice to have URL scheme registered within CCMenu that would allow to register by clicking link on web: ccmenu://api.travis-...

@erikdoe
Copy link
Member

erikdoe commented Dec 15, 2016

I have implemented this now. CCMenu registers two URL schemes, namely ccmenu+http and ccmenu+https. The rest of the URL should be a cctray formatted feed. For example, if your CI server has a feed for projects at https://myserver.example.org/cctray.xml then the URL for CCMenu should be ccmenu+https://myserver.example.org/cctray.xml.

When a link with one of those scheme is opened, by clicking in a web browser for example, CCMenu opens the add projects sheet in its preferences, and tries to display the projects contained in the corresponding feed.

Please note: If you install a pre-release version of CCMenu that has this feature in addition to an older version that doesn't have this feature, and no version of CCMenu is running when you try to open such a URL, then chances are that Mac OS will launch the wrong version of CCMenu and nothing will happen. Until this is in a released version, it might be necessary to have the right version, and only the right version, of CCMenu running.

CCMenu 13.0d1 contains this feature and is available on the releases page: https://github.com/erikdoe/ccmenu/releases

@erikdoe
Copy link
Member

erikdoe commented Apr 22, 2017

Released in CCMenu 13.0.

@erikdoe erikdoe closed this as completed Apr 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants