mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
Update vendored windows libs
This commit is contained in:
parent
f61c211655
commit
b1cefa94e5
226 changed files with 33472 additions and 11882 deletions
37
libs/win/jaraco/windows/msvc.py
Normal file
37
libs/win/jaraco/windows/msvc.py
Normal file
|
@ -0,0 +1,37 @@
|
|||
import subprocess
|
||||
|
||||
|
||||
default_components = [
|
||||
'Microsoft.VisualStudio.Component.CoreEditor',
|
||||
'Microsoft.VisualStudio.Workload.CoreEditor',
|
||||
'Microsoft.VisualStudio.Component.Roslyn.Compiler',
|
||||
'Microsoft.Component.MSBuild',
|
||||
'Microsoft.VisualStudio.Component.TextTemplating',
|
||||
'Microsoft.VisualStudio.Component.VC.CoreIde',
|
||||
'Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
|
||||
'Microsoft.VisualStudio.Component.VC.Tools.ARM64',
|
||||
'Microsoft.VisualStudio.Component.Windows10SDK.19041',
|
||||
'Microsoft.VisualStudio.Component.VC.Redist.14.Latest',
|
||||
'Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core',
|
||||
'Microsoft.VisualStudio.Workload.NativeDesktop',
|
||||
]
|
||||
|
||||
|
||||
def install(components=default_components):
|
||||
cmd = [
|
||||
'vs_buildtools',
|
||||
'--quiet',
|
||||
'--wait',
|
||||
'--norestart',
|
||||
'--nocache',
|
||||
'--installPath',
|
||||
'C:\\BuildTools',
|
||||
]
|
||||
for component in components:
|
||||
cmd += ['--add', component]
|
||||
res = subprocess.Popen(cmd).wait()
|
||||
if res != 3010:
|
||||
raise SystemExit(res)
|
||||
|
||||
|
||||
__name__ == '__main__' and install()
|
Loading…
Add table
Add a link
Reference in a new issue