]> khamidou — GitHub mirrors - electron.git/commitdiff
Ship with vc++ redist files
authorCheng Zhao <zcbenz@gmail.com>
Tue, 12 May 2015 09:08:27 +0000 (17:08 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 12 May 2015 09:08:27 +0000 (17:08 +0800)
atom.gyp
script/create-dist.py
script/update-external-binaries.py

index 5169fda640e9c9fab307bbd41e3c86caccc72768..8e05a0d007d7b192581681683942d34da36da7a8 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
                 '<(libchromiumcontent_dir)/snapshot_blob.bin',
                 'external_binaries/d3dcompiler_47.dll',
                 'external_binaries/xinput1_3.dll',
+                'external_binaries/msvcp120.dll',
+                'external_binaries/msvcr120.dll',
+                'external_binaries/vccorlib120.dll',
               ],
             },
             {
index 7a5b75b07b7b36f6b1e0dc2675b30c77e3eefa8f..6a6fa0d1a34b47388f7f444ec77592df16da2657 100755 (executable)
@@ -35,12 +35,15 @@ TARGET_BINARIES = {
     'icudtl.dat',
     'libEGL.dll',
     'libGLESv2.dll',
+    'msvcp120.dll',
+    'msvcr120.dll',
     'node.dll',
     'content_resources_200_percent.pak',
     'ui_resources_200_percent.pak',
     'xinput1_3.dll',
     'natives_blob.bin',
     'snapshot_blob.bin',
+    'vccorlib120.dll',
   ],
   'linux': [
     PROJECT_NAME,  # 'electron'
index 0df5fcc03976ca798509ca2ee6b20915e1cea0fc..49e73435ab5198250048f02628e3d6205beb5d7f 100755 (executable)
@@ -8,7 +8,7 @@ from lib.config import get_target_arch
 from lib.util import safe_mkdir, rm_rf, extract_zip, tempdir, download
 
 
-VERSION = 'v0.6.0'
+VERSION = 'v0.7.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
@@ -30,6 +30,7 @@ def main():
     download_and_unzip('Squirrel')
   elif sys.platform in ['cygwin', 'win32']:
     download_and_unzip('directxsdk-' + get_target_arch())
+    download_and_unzip('vs2012-crt-' + get_target_arch())
 
   with open(version_file, 'w') as f:
     f.write(VERSION)