Ship VS2012 redist DLLs.
Atom Shell has been built with VS2013 so we should not ship VS2010's DLLs.
This commit is contained in:
parent
4a7e98e398
commit
546e4e431d
5 changed files with 13 additions and 6 deletions
|
@ -4,10 +4,10 @@ import errno
|
|||
import sys
|
||||
import os
|
||||
|
||||
from lib.util import safe_mkdir, extract_zip, tempdir, download
|
||||
from lib.util import safe_mkdir, rm_rf, extract_zip, tempdir, download
|
||||
|
||||
|
||||
VERSION = 'v0.0.3'
|
||||
VERSION = 'v0.1.0'
|
||||
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||
FRAMEWORKS_URL = 'https://github.com/atom/atom-shell-frameworks/releases' \
|
||||
'/download/' + VERSION
|
||||
|
@ -17,10 +17,12 @@ def main():
|
|||
os.chdir(SOURCE_ROOT)
|
||||
version_file = os.path.join(SOURCE_ROOT, 'external_binaries', '.version')
|
||||
|
||||
safe_mkdir('external_binaries')
|
||||
if (is_updated(version_file, VERSION)):
|
||||
return
|
||||
|
||||
rm_rf('external_binaries')
|
||||
safe_mkdir('external_binaries')
|
||||
|
||||
with open(version_file, 'w') as f:
|
||||
f.write(VERSION)
|
||||
|
||||
|
@ -30,6 +32,7 @@ def main():
|
|||
download_and_unzip('Squirrel')
|
||||
elif sys.platform in ['cygwin', 'win32']:
|
||||
download_and_unzip('directxsdk')
|
||||
download_and_unzip('vs2012_crt')
|
||||
|
||||
|
||||
def is_updated(version_file, version):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue