mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-23 19:31:24 +08:00
Only download frameworks on OS X.
This commit is contained in:
@@ -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])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user