Merge pull request #1614 from atom/download-x64-directxsdk
Download 64bit directx sdk when building for 64bit target
This commit is contained in:
commit
2b1894f356
1 changed files with 3 additions and 2 deletions
|
@ -4,10 +4,11 @@ import errno
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
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.5.0'
|
VERSION = 'v0.6.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
|
||||||
|
@ -28,7 +29,7 @@ def main():
|
||||||
download_and_unzip('ReactiveCocoa')
|
download_and_unzip('ReactiveCocoa')
|
||||||
download_and_unzip('Squirrel')
|
download_and_unzip('Squirrel')
|
||||||
elif sys.platform in ['cygwin', 'win32']:
|
elif sys.platform in ['cygwin', 'win32']:
|
||||||
download_and_unzip('directxsdk')
|
download_and_unzip('directxsdk-' + get_target_arch())
|
||||||
|
|
||||||
with open(version_file, 'w') as f:
|
with open(version_file, 'w') as f:
|
||||||
f.write(VERSION)
|
f.write(VERSION)
|
||||||
|
|
Loading…
Reference in a new issue