This repository was archived by the owner on Mar 3, 2023. It is now read-only.
atom:// url package installation #5262
Copy link
Copy link
Closed
Description
Elaborating on #2037:
To allow some interesting integrations with atom.io, we should allow users to initiate package installation from the atom:// url handler. There are a number of questions to answer:
- What work in atom core & atom-shell is required to support this on all 3 platforms?
- Windows registry doc: https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx
- The current top answer to this is relevant, showing how to use gconf on a system with gnome: http://stackoverflow.com/questions/1947209/registering-a-url-protocol-handler-in-a-multiple-platforms
- What are the user concerns around security and predictability and how can we address them?
- Users should always know what is being installed and have to explicitly confirm installations initiated outside the editor
- What's a general-purpose UI look like for this, given the editor can be in any state when installation is initiated?
- Probably a modal in the active window?
Reacted by Gary Green, Daniel Bayley and Tony Brix
Reacted by Daniel Bayley
Activity
zcbenz commentedon Jan 26, 2015
Atom already has
atom://registered in Info.plist:And it seems that there is already some meaning of
atom://url handler:https://github.com/atom/atom/blob/master/src/browser/atom-application.coffee#L402
thedaniel commentedon Jan 26, 2015
@zcbenz That's mac-only though, we don't register the url with the Windows registry / try to set gnome/kde config for it do we?
zcbenz commentedon Jan 26, 2015
@thedaniel Right, we only have it on Mac.
Registering URL on other platforms are quite similar, they are implemented usually by writing some settings to some registry, and the program specified will be called with the URL appended in command line. The work will mostly be in installers/packages.
thedaniel commentedon Jan 29, 2015
Fortunately we can write and test all the app code for this without having to wait for the cross-platform URI handler stuff to be done. I probably won't have time this week but I'll wireframe or prototype this.
jeancroy commentedon Nov 3, 2015
Btw GitHub Desktop use that feature for the
Clone In Desktopfeature. So you may have some solution in house.benogle commentedon Nov 4, 2015
There are a bunch of pieces of this that have been moving forward here and there. e.g. the settings-view now supports opening a package via URI
thedaniel commentedon Apr 5, 2016
cc @BinaryMuse for context
stale commentedon Aug 29, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
UziTech commentedon Oct 17, 2017
Any update on this? From what I gathered the work is pretty much done in #14243
BinaryMuse commentedon Oct 17, 2017
@UziTech I'll be handling this as part of the larger effort around #11399. Stay tuned!
BinaryMuse commentedon Oct 18, 2017
Closed by #11399 and atom/settings-view#1011
lock commentedon Apr 16, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!