Closed Zren closed 10 years ago
Including context menu updates in the install process would be excellent.
Currently whenever atom is upgraded using chocolatey, it is placed in a new directory (with version number) and any context menu items configured are broken.
This is quite a frustrating experience, particularly using chocolatey I would expect a more seamless experience.
Zren has built an excellent package to include windows context menu items, however a package has to run in an instance of atom, with the user controlling permission levels etc.
I
Missed LibraryFolder\Background\shell
. Backgrounds within a library (eg: Documents) have their own context menu.
Awesome, thanks @bradgearon that will make atom much easier to upgrade in future for windows. :)
Thanks @zren for the package and the detailed info to fix the issue.
How it works (Registry Files)
Icons can be added like so: https://github.com/Zren/atom-windows-context-menu/blob/master/assets/install_0.115.0_chocolatey.reg#L9
Directory's like so: https://github.com/Zren/atom-windows-context-menu/blob/master/assets/install_0.115.0_chocolatey.reg#L14-L20
Directory (even those inside a library) like so: https://github.com/Zren/atom-windows-context-menu/blob/master/assets/install_0.115.0_chocolatey.reg#L22-L36
Powershell Equivalent
Install-ChocolateyExplorerMenuItem
doesn't have this capability, so I modded it.https://github.com/Zren/atom-windows-context-menu/blob/master/assets/Install-ExplorerMenuItem.ps1
Example of it's use can be found here:
https://github.com/Zren/atom-windows-context-menu/blob/master/assets/install_chocolatey.ps1