Created
November 15, 2021 16:47
-
-
Save rz3n/ebbf19617992c3cf09e4f68042206691 to your computer and use it in GitHub Desktop.
Powershell script to update Chromium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$CHROMIUM_URI = "https://download-chromium.appspot.com/dl/Win_x64?type=snapshots" | |
$LOCALAPPDATA = Get-content -Path Env:LOCALAPPDATA | |
$LOCALPROGRAMS = $LOCALAPPDATA+"\Programs" | |
$TEMP = Get-content -Path Env:Temp | |
(new-object System.Net.WebClient).DownloadFile($CHROMIUM_URI,"$TEMP\chromium.zip") | |
7z x $TEMP\chromium.zip -aoa -o"$LOCALPROGRAMS" -r -y | |
rm $TEMP\chromium.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment