KSP-CKAN / CKAN

The Comprehensive Kerbal Archive Network
https://forum.kerbalspaceprogram.com/index.php?/topic/197082-*
Other
1.98k stars 347 forks source link

URL handlers for ckan:// #723

Open AlexanderDzhoganov opened 9 years ago

AlexanderDzhoganov commented 9 years ago

https://github.com/KSP-CKAN/CKAN-GUI/pull/19 adds handlers for ckan:// for Windows and Linux. Not sure if this will work on OSX, maybe we need a separate config for it. The handler itself will run ckan.exe gui %u where ckan.exe is the location of the most recently used executable and %u is the identifier part.

pjf commented 9 years ago

Marking this as closed, because we both have ckan:// handlers, and because they either work or fail in a non-user-provoking way. :)

Dazpoet commented 9 years ago

From what I gather these where added so that KerbalStuff (or any other modwebsite for that part, KerbalTopia and KerbalX come to mind) would be able to have a button which led directly to CKAN client starting and marking the mod for installation. Do these handlers acctually work on all OS now or is it an unfinished feature? The question about these are raised from time to time on irc by @SirCmpwn

ddevault commented 9 years ago

Yes, they weren't usable last time anyone bothered to answer my questions about them.

Dazpoet commented 9 years ago

Reopening so we can evalute the scope of this before opening a new issue with more relevant information. I'm not sure who'd know more save for @AlexanderDzhoganov though.

I assume the initial scope was to add the ability to click something like "Install mod through CKAN" on KerbalStuff which might help KS with https://github.com/KerbalStuff/KerbalStuff/issues/5 and give us a more obvious connection to where users would go looking for usage stats such as which mods are the most popular right now?

pjf commented 9 years ago

I've not seen them work on my (Linux) machine, the ini parser library is unable to parse my mimeapps.list file. On other platforms I can't comment as to whether they work or not.