Skip to content

Instantly share code, notes, and snippets.

View mikhaelkh's full-sized avatar

Michael Kharitonov mikhaelkh

View GitHub Profile
@mikhaelkh
mikhaelkh / ChrUpdWin.cmd
Last active December 13, 2020 04:56
Chromium updater for Windows
@echo off
pushd "%~dp0"
if exist running exit
if "%PROCESSOR_ARCHITECTURE%" == "x86" set platform=Win
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" set platform=Win_x64
if "%PROCESSOR_ARCHITEW6432%" == "AMD64" set platform=Win_x64
if "%platform%" == "" echo Supported only x86 and amd64 cpu architectures. & pause & exit
set channel=snapshots
set url=https://storage.googleapis.com/chromium-browser-%channel%/%platform%
set wget=wget.exe -N