bootstrap_brightray(args.url)
if sys.platform == 'cygwin':
update_win32_python()
+ if sys.platform in ['win32', 'cygwin']:
+ install_runas()
touch_config_gypi()
update_atom_shell()
execute(['git', 'clone', PYTHON_26_URL])
+def install_runas():
+ # TODO This is needed by the tools/win/register_msdia80_dll.js, should move
+ # this to a better place.
+ with scoped_cwd(os.path.join(SOURCE_ROOT, 'tools', 'win')):
+ execute([NPM, 'install', 'runas'])
+
+
def touch_config_gypi():
config_gypi = os.path.join(SOURCE_ROOT, 'vendor', 'node', 'config.gypi')
with open(config_gypi, 'w+') as f:
def RegisterRequiredDll():
register = os.path.join(os.path.dirname(__file__), 'register_msdia80_dll.js')
- node = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
- os.environ['ATOM_SHELL_INTERNAL_RUN_AS_NODE'] = '1'
- subprocess.check_call([node, register]);
+ subprocess.check_call(['node.exe', register]);
def GenerateSymbols(options, binaries):