]> khamidou — GitHub mirrors - electron.git/commitdiff
win: Fix executing apm.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 29 Apr 2014 03:12:41 +0000 (11:12 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 29 Apr 2014 03:12:41 +0000 (11:12 +0800)
script/bootstrap.py

index e0e515301135e05de32a911b63a37dacc9cd8de9..1921998a1f2a586c8c9f412d00f9cf0521a53a01 100755 (executable)
@@ -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'])