win: Fix executing apm.
This commit is contained in:
parent
b6fa1141fe
commit
4addd8d227
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ def update_atom_modules(dirname):
|
||||||
with scoped_cwd(dirname):
|
with scoped_cwd(dirname):
|
||||||
apm = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'apm')
|
apm = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'apm')
|
||||||
if sys.platform in ['win32', 'cygwin']:
|
if sys.platform in ['win32', 'cygwin']:
|
||||||
apm += '.cmd'
|
apm = os.path.join(SOURCE_ROOT, 'node_modules', 'atom-package-manager',
|
||||||
|
'bin', 'apm.cmd')
|
||||||
execute([apm, 'install'])
|
execute([apm, 'install'])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue