From e16dd541e10a0da8fb57780389b06aa09b8389f0 Mon Sep 17 00:00:00 2001 From: starchyunderscore Date: Sat, 11 Mar 2023 11:57:26 -0500 Subject: [PATCH] Update setup.ps1 --- setup.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.ps1 b/setup.ps1 index 3b63024..7ae039d 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -317,8 +317,6 @@ if($InstallVSC -eq 0) { $remoteFile = 'https://go.microsoft.com/fwlink/?Linkid=850641'; $downloadFile = $env:Temp+'\vscode.zip'; $vscodePath = $env:LOCALAPPDATA+"\VsCode"; - - # (New-Object Net.WebClient).DownloadFile($remoteFile, $downloadFile); Start-BitsTransfer -source "$remoteFile" -destination "$downloadFile" @@ -331,7 +329,8 @@ if($InstallVSC -eq 0) { $Shortcut = $WshShell.CreateShortcut("$env:AppData\Microsoft\Windows\Start Menu\Programs\Visual Studio Code.lnk") $Shortcut.TargetPath = "$env:LOCALAPPDATA\VsCode\Code.exe" $Shortcut.Save() - + Write-Host "" + Write-Host "Visual Studio Code installed" -ForegroundColor Green } # end script Write-Host ""