Look for apm in app folder

This commit is contained in:
Kevin Sawicki
2015-04-08 14:31:37 -07:00
parent a61f732cf8
commit 00e91dc9df

View File

@@ -111,7 +111,7 @@ class PackageManager
commandName = 'apm'
commandName += '.cmd' if process.platform is 'win32'
apmRoot = path.join(process.resourcesPath, 'apm')
apmRoot = path.join(process.resourcesPath, 'app', 'apm')
@apmPath = path.join(apmRoot, 'bin', commandName)
unless fs.isFileSync(@apmPath)
@apmPath = path.join(apmRoot, 'node_modules', 'atom-package-manager', 'bin', commandName)