Skip to content

Commit bc1aae2

Browse files
authored
Update WindowsTemplateStudio.ps1
1 parent 6447ff0 commit bc1aae2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/WindowsTemplateStudio.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ $wtsVsix = [System.IO.Path]::GetFileName($wtsFileUrl.source)
1515
$desktopPath = Resolve-Path $env:USERPROFILE\desktop
1616
$wtsFullPath = [System.IO.Path]::Combine($desktopPath, $wtsVsix);
1717

18-
Invoke-WebRequest -Uri $wtsFileUrl.source -OutFile `"$wtsVsix`"
18+
Invoke-WebRequest -Uri $wtsFileUrl.source -OutFile $wtsFullPath
1919

2020
$vsixInstallerFile = Get-Childitem -Include vsixinstaller.exe -Recurse -Path "C:\Program Files (x86)\Microsoft Visual Studio\2017\"
2121
$wtsArgList = $wtsFullPath + " /q"
2222

2323
$vsixInstallerResult = Start-Process -FilePath $vsixInstallerFile.FullName -ArgumentList `"$wtsArgList`" -Wait -PassThru;
2424

25-
Remove-Item $wtsVsix
25+
Remove-Item $wtsFullPath

0 commit comments

Comments
 (0)