mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-24 03:46:03 +08:00
win: Fix error when bootstraping.
This commit is contained in:
@@ -58,7 +58,7 @@ def bootstrap_brightray(url):
|
||||
def update_apm():
|
||||
## NB: Without this, subprocess incorrectly searches for npm.exe
|
||||
npm_cmd = 'npm'
|
||||
if sys.platform == 'win32':
|
||||
if sys.platform in ['win32', 'cygwin']:
|
||||
npm_cmd += '.cmd'
|
||||
|
||||
with scoped_cwd(os.path.join('vendor', 'apm')):
|
||||
|
||||
Reference in New Issue
Block a user