From f8ec0bb9d5d13cf3ecbdcddff06b2250c2d83bf9 Mon Sep 17 00:00:00 2001 From: Jona Heitzer Date: Tue, 29 Oct 2024 12:12:55 +0100 Subject: [PATCH] Install vscode --- setup.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.ps1 b/setup.ps1 index 3bf81ee..21bcca6 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -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 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 set python interpreter