]> khamidou — GitHub mirrors - electron.git/commitdiff
win: Download 64bit directx sdk when building for 64bit target
authorCheng Zhao <zcbenz@gmail.com>
Fri, 8 May 2015 05:42:18 +0000 (13:42 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 8 May 2015 05:42:18 +0000 (13:42 +0800)
script/update-external-binaries.py

index a95a30f4a54916e1e6d3fb64258ab7a39332af0e..0df5fcc03976ca798509ca2ee6b20915e1cea0fc 100755 (executable)
@@ -4,10 +4,11 @@ import errno
 import sys
 import os
 
+from lib.config import get_target_arch
 from lib.util import safe_mkdir, rm_rf, extract_zip, tempdir, download
 
 
-VERSION = 'v0.5.0'
+VERSION = 'v0.6.0'
 SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 FRAMEWORKS_URL = 'http://github.com/atom/atom-shell-frameworks/releases' \
                  '/download/' + VERSION
@@ -28,7 +29,7 @@ def main():
     download_and_unzip('ReactiveCocoa')
     download_and_unzip('Squirrel')
   elif sys.platform in ['cygwin', 'win32']:
-    download_and_unzip('directxsdk')
+    download_and_unzip('directxsdk-' + get_target_arch())
 
   with open(version_file, 'w') as f:
     f.write(VERSION)