Install vscode

This commit is contained in:
Jona Heitzer 2024-10-29 12:12:55 +01:00
parent de514389bd
commit f8ec0bb9d5

View File

@ -2,6 +2,12 @@
Invoke-WebRequest -UseBasicParsing -OutFile winpy.exe -Uri https://github.com/winpython/winpython/releases/download/10.7.20240908final/Winpython64-3.12.6.0dot.exe Invoke-WebRequest -UseBasicParsing -OutFile winpy.exe -Uri https://github.com/winpython/winpython/releases/download/10.7.20240908final/Winpython64-3.12.6.0dot.exe
Start-Process -FilePath 'C:\Program Files\7-Zip\7z.exe' -ArgumentList "x", "./winpy.exe" -Wait -NoNewWindow -PassThru Start-Process -FilePath 'C:\Program Files\7-Zip\7z.exe' -ArgumentList "x", "./winpy.exe" -Wait -NoNewWindow -PassThru
# Install VS Code
winget install --accept-package-agreements --accept-source-agreements vscode
# Update PATH
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# TODO: Automatically install python extensions # TODO: Automatically install python extensions
# TODO: Automatically set python interpreter # TODO: Automatically set python interpreter