common: export hideInternalModules

This commit is contained in:
Robo 2016-01-27 14:14:10 +05:30
parent 2c7717d98e
commit a6bcc5d110
3 changed files with 20 additions and 4 deletions

View file

@ -16,9 +16,6 @@ PRODUCT_NAME = atom_gyp()['product_name%']
def main():
os.chdir(SOURCE_ROOT)
# Disable old APIs
os.environ['ELECTRON_HIDE_INTERNAL_MODULES'] = 'true'
config = 'D'
if len(sys.argv) == 2 and sys.argv[1] == '-R':
config = 'R'