mirror of
https://github.com/atom/atom.git
synced 2026-02-07 13:14:55 -05:00
Install apm to apm/ from vendor/apm
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user