Ship with vc++ redist files

This commit is contained in:
Cheng Zhao 2015-05-12 17:08:27 +08:00
parent 613a51f5fb
commit 3bd54b7920
3 changed files with 8 additions and 1 deletions

View file

@ -142,6 +142,9 @@
'<(libchromiumcontent_dir)/snapshot_blob.bin', '<(libchromiumcontent_dir)/snapshot_blob.bin',
'external_binaries/d3dcompiler_47.dll', 'external_binaries/d3dcompiler_47.dll',
'external_binaries/xinput1_3.dll', 'external_binaries/xinput1_3.dll',
'external_binaries/msvcp120.dll',
'external_binaries/msvcr120.dll',
'external_binaries/vccorlib120.dll',
], ],
}, },
{ {

View file

@ -35,12 +35,15 @@ TARGET_BINARIES = {
'icudtl.dat', 'icudtl.dat',
'libEGL.dll', 'libEGL.dll',
'libGLESv2.dll', 'libGLESv2.dll',
'msvcp120.dll',
'msvcr120.dll',
'node.dll', 'node.dll',
'content_resources_200_percent.pak', 'content_resources_200_percent.pak',
'ui_resources_200_percent.pak', 'ui_resources_200_percent.pak',
'xinput1_3.dll', 'xinput1_3.dll',
'natives_blob.bin', 'natives_blob.bin',
'snapshot_blob.bin', 'snapshot_blob.bin',
'vccorlib120.dll',
], ],
'linux': [ 'linux': [
PROJECT_NAME, # 'electron' PROJECT_NAME, # 'electron'

View file

@ -8,7 +8,7 @@ from lib.config import get_target_arch
from lib.util import safe_mkdir, rm_rf, extract_zip, tempdir, download 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__))) SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
FRAMEWORKS_URL = 'http://github.com/atom/atom-shell-frameworks/releases' \ FRAMEWORKS_URL = 'http://github.com/atom/atom-shell-frameworks/releases' \
'/download/' + VERSION '/download/' + VERSION
@ -30,6 +30,7 @@ def main():
download_and_unzip('Squirrel') download_and_unzip('Squirrel')
elif sys.platform in ['cygwin', 'win32']: elif sys.platform in ['cygwin', 'win32']:
download_and_unzip('directxsdk-' + get_target_arch()) download_and_unzip('directxsdk-' + get_target_arch())
download_and_unzip('vs2012-crt-' + get_target_arch())
with open(version_file, 'w') as f: with open(version_file, 'w') as f:
f.write(VERSION) f.write(VERSION)