Install apm to apm/ from vendor/apm

This commit is contained in:
Kevin Sawicki
2013-12-16 16:28:40 -08:00
parent 0aabfddfcb
commit ed8800d182
5 changed files with 14 additions and 4 deletions

View File

@@ -64,5 +64,5 @@ module.exports =
resourcePath = null
resourcePath ?= atom.getLoadSettings().resourcePath
commandPath = path.join(resourcePath, 'node_modules', '.bin', 'apm')
commandPath = path.join(resourcePath, 'apm', 'node_modules', '.bin', 'apm')
@install(commandPath, callback)

View File

@@ -39,7 +39,7 @@ class PackageManager
# Public: Get the path to the apm command
getApmPath: ->
@apmPath ?= require.resolve('atom-package-manager/bin/apm')
@apmPath ?= require.resolve('../apm/node_modules/atom-package-manager/bin/apm')
# Public: Get the paths being used to look for packages.
#