|
@@ -25,6 +25,8 @@ def main():
|
|
|
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()
|
|
@@ -72,6 +74,13 @@ def update_win32_python():
|
|
|
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:
|