mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
win: Fix error when bootstraping.
This commit is contained in:
11
common.gypi
11
common.gypi
@@ -186,5 +186,16 @@
|
||||
],
|
||||
},
|
||||
}], # msvs_express==1
|
||||
# The breakdpad on Windows assumes Debug_x64 and Release_x64 configurations.
|
||||
['OS=="win"', {
|
||||
'target_defaults': {
|
||||
'configurations': {
|
||||
'Debug_x64': {
|
||||
},
|
||||
'Release_x64': {
|
||||
},
|
||||
},
|
||||
},
|
||||
}], # OS=="win"
|
||||
],
|
||||
}
|
||||
|
||||
@@ -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