mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
win: Fix executing apm.
This commit is contained in:
@@ -60,7 +60,8 @@ def update_atom_modules(dirname):
|
||||
with scoped_cwd(dirname):
|
||||
apm = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'apm')
|
||||
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'])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user