mkorthof / chrupd

Simple Chromium Updater
GNU General Public License v2.0
89 stars 6 forks source link
chromium chromium-browser chromium-updater powershell powershell-script updater windows windows-10 windows-11 windows-7 windows-8

Simple Chromium Updater (chrupd.cmd)

" Self executable PowerShell script to auto update Chromium for Windows "

βœ… Runs on all Windows versions

βœ… One file download, no need to install and no other software required

βœ… Needs little to no configuration, but (advanced) options are available

This script uses the RSS feed from https://chromium.woolyss.com or GitHub API to download and install the latest Chromium version, if a newer version is available.

Download and run chrupd.cmd or read below for more details.


πŸ—“ Latest version: 20240630 (CHANGES.md)


βš™ Chromium Builds

Source Name Channel
Woolyss
Hibbiki stable, dev
Marmaduke stable, dev
Ungoogled-Marmaduke stable
Ungoogled-Portable stable
Official (The Chromium Authors) dev
GitHub
justclueless dev
Ungoogled-Eloston dev
RobRich dev
thorium dev
thorium-avx2 dev
thorium-legacy dev
Supermium dev

* Defaults in bold

Make sure the combination of name and channel you pick is correct. You can also use chrupd.cmd -list. For more information about versions check chromium.woolyss.com, it's feed and chromium.org.

Notes:

⏰ Scheduled Task

To make sure Chromium is always automatically updated to the latest version you can optionally add a Scheduled Task by using chrupd.cmd -crTask. A VBS wrapper will be written to chrupd.vbs which is used to hide it's window. Option -noVbs disables the wrapper, this will however cause a flashing window when the task runs. Specifed settings for 'name' and 'channel' are used to run the script every day.

πŸ”ƒ Updating Script

The script auto updates itself (since v20210109).

(!) If you keep getting an error about "Unable to get new script, skipped update", this means a new version was detected but the script was unable to get the new version from GitHub. Try again later or manually update.

To manually update to a newer script version just replace "chrupd.cmd". Copy "name" and "channel" if set. If you a have Scheduled Task setup, you do not need to change the task.

πŸ“ Files

File 'chrupd.cmd' is all you need to run.

Options can be set in script or by using command line arguments.

See docs/Files.md for details about all repository files.

πŸ’» Command Line Options

chrupd.cmd -h


Simple Chromium Updater (chrupd.cmd:20240327)
---------------------------------------------

Installs latest available Chromium version
Checks RSS feed from "chromium.woolyss.com" and GitHub API

USAGE: chrupd.cmd -[name|arch|channel|force] or -[list|crTask|shTask]

         -name    option must be set to a release name:   (default=Hibbiki)
                  <Official|Hibbiki|Marmaduke|Ungoogled|justclueless|Eloston|RobRich>
         -channel can be set to [stable|dev] (default=stable)
         -arch    can be set to [64bit|32bit] (default=64bit)

         -list    show available releases and exit
         -crTask  create a daily scheduled task and exit
         -shTask  show scheduled task details and exit
         -force   always (re)install, even if latest version is installed

EXAMPLE: ".\chrupd.cmd -name Marmaduke -arch 64bit -channel stable [-crTask]"

NOTES:   Options "name" and "channel" need an argument (CasE Sensive)
         Try 'chrupd.cmd -advhelp' for "advanced" options

More info about advanced options can be found here: docs/Options.md

chrupd uses modified code from http://www.mobzystems.com/code/7-zip-powershell-module/