Only download frameworks on OS X.
This commit is contained in:
parent
8034afdcdf
commit
97a38fe55d
1 changed files with 4 additions and 2 deletions
|
@ -18,9 +18,11 @@ def main():
|
|||
|
||||
|
||||
def update_frameworks_and_node(version):
|
||||
uf = os.path.join(SOURCE_ROOT, 'script', 'update-frameworks.py')
|
||||
if sys.platform == 'darwin':
|
||||
uf = os.path.join(SOURCE_ROOT, 'script', 'update-frameworks.py')
|
||||
subprocess.check_call([sys.executable, uf])
|
||||
|
||||
un = os.path.join(SOURCE_ROOT, 'script', 'update-node.py')
|
||||
subprocess.check_call([sys.executable, uf])
|
||||
subprocess.check_call([sys.executable, un, '--version', version])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue