win: Fix error when bootstraping.
This commit is contained in:
parent
458ff5c41f
commit
9981fd51da
2 changed files with 12 additions and 1 deletions
|
@ -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')):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue