Skip to content

Instantly share code, notes, and snippets.

@missdeer
Created August 21, 2013 01:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save missdeer/6289453 to your computer and use it in GitHub Desktop.
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.
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