Merge pull request #9682 from electron/release-detection

Rebuild native modules when configuration starts with R
This commit is contained in:
Kevin Sawicki 2017-06-06 13:37:48 -07:00 committed by GitHub
commit 21439a138b

View file

@ -41,7 +41,7 @@ def main():
shutil.copy2(atom_lib, iojs_lib)
# Native modules can only be compiled against release builds on Windows
if config == 'R' or PLATFORM != 'win32':
if config[0] == 'R' or PLATFORM != 'win32':
update_electron_modules(os.path.dirname(spec_modules), get_target_arch(),
node_dir)
else: