mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
win: Download 64bit directx sdk when building for 64bit target
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user