From 1e18e2b4e531627e6bcbe8b23dc3f854949a6a35 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 18 Nov 2014 14:39:51 -0800 Subject: [PATCH] :memo: Doc removeCommandsFromPath --- src/browser/squirrel-update.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/browser/squirrel-update.coffee b/src/browser/squirrel-update.coffee index 19162a612..a9b7441a5 100644 --- a/src/browser/squirrel-update.coffee +++ b/src/browser/squirrel-update.coffee @@ -89,7 +89,7 @@ uninstallContextMenu = (callback) -> deleteFromRegistry directoryKeyPath, -> deleteFromRegistry(backgroundKeyPath, callback) -# Add apm and atom.exe to the PATH +# Add atom and apm to the PATH # # This is done by adding .cmd shims to the root bin folder in the Atom # install directory that point to the newly installed versions inside @@ -131,6 +131,7 @@ addCommandsToPath = (callback) -> else callback() +# Remove atom and apm from the PATH removeCommandsFromPath = (callback) -> getPath (error, pathEnv) -> return callback(error) if error?