Skip to content

Commit 1608d43

Browse files
committed
ChromeGCTW.ps1 -> $updateps
1 parent e28be1a commit 1608d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ChromeDownload/ChromeGCTW.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ else{
292292
$updaterpath = Join-Path $installLocation 'Update.cmd'
293293
if(-Not(Test-Path $updaterpath)){
294294
$lower = $branch.ToString().ToLower()
295-
$updateps = "@SET `"ggbranch=$lower`" && @SET `"ggarch=$arch`" && " + ('@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy AllSigned -Command "iex ((New-Object System.Net.WebClient).DownloadString(''https://raw.githubusercontent.com/TkYu/PowerShellScripts/master/ChromeDownload/ChromeWithGreenChrome.ps1''))"')
295+
$updateps = "@SET `"ggbranch=$lower`" && @SET `"ggarch=$arch`" && " + ('@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy AllSigned -Command "iex ((New-Object System.Net.WebClient).DownloadString(''https://raw.githubusercontent.com/TkYu/PowerShellScripts/master/ChromeDownload/ChromeGCTW.ps1''))"')
296296
'@echo Checking Chrome update. Sit back and relax.', $updateps, "@pause" -join "`r`n" | Out-File -Encoding "Default" $updaterpath
297297
}
298298
# SIG # Begin signature block

0 commit comments

Comments
 (0)