Created
August 21, 2013 01:36
-
-
Save missdeer/6289453 to your computer and use it in GitHub Desktop.
save the code as update-chrome.bat, place a wget.exe with update-chrome.bat, for China Mainland people, please set a hosts item for commondatastorage.googleapis.com.
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
del LAST_CHANGE | |
wget --no-check-certificate https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win/LAST_CHANGE | |
for /f %%i in (LAST_CHANGE) do ( | |
set version=%%i | |
) | |
echo %version% | |
del chrome-win32.zip | |
wget --no-check-certificate https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win/%version%/chrome-win32.zip | |
"D:\Program Files\7-Zip\7z.exe" x -y %~dp0chrome-win32.zip | |
del chrome-win32.zip | |
del LAST_CHANGE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment