This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
Port chocolatey install actions to squirrel events - #4224
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Everything you possibly can, you should give absolute paths for, so that some dummy who installs MyCoolSetX or something doesn't ruin your day - setx is always at %SystemRoot%\System32 for example
Contributor
Author
There was a problem hiding this comment.
Awesome, thanks for the tip.
kevinsawicki
force-pushed
the
ks-squirrel-events
branch
from
November 18, 2014 23:06
fa44250 to
26125ad
Compare
kevinsawicki
force-pushed
the
ks-squirrel-events
branch
from
November 18, 2014 23:23
d933312 to
16fc52b
Compare
kevinsawicki
added a commit
that referenced
this pull request
Nov 18, 2014
Port chocolatey install actions to squirrel events
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new squirrel installer installs to
%UserProfile%\AppData\Local\atomand currently only handles creating start menu and desktop shortcuts.This PR adds the remaining items that were previously managed by the chocolatey install script.
%UserProfile%\AppData\Local\atom\binto thePathenvironment variable.setxto set thePathin the registry.%UserProfile%\AppData\Local\atom\bin\atom.cmdto the latest installedatom.exeversion sinceatom.exechanges paths on each update.%UserProfile%\AppData\Local\atom\bin\apm.cmdto the latest installedapm.cmdversion sinceapm.cmdchanges paths on each update.Once Atom ships with this and any bumps are smoothed out, this will be extracted into Atom Shell and added as helper on the
auto-updatermodule.Closes #4180