librewolf-winupdater
librewolf-winupdater copied to clipboard
An attempt to make (automatic) updating of LibreWolf for Windows much easier. Can be used for installed and portable instances (https://github.com/ltguillaume/librewolf-portable).
LibreWolf WinUpdater
LibreWolf WinUpdater by ltGuillaume
LibreWolf by ohfp, stanzabird, fxbrit, maltejur, bgstack15 et al.
An attempt to make updating LibreWolf for Windows much easier.
Getting started
- Download and extract the latest
LibreWolf-WinUpdater_x.x.x.zip
to a folder you like, e.g.%AppData%\LibreWolf
. RunLibreWolf-WinUpdater.exe
to check for an update for the installed LibreWolf version. It will then be downloaded and installed immediately.
If LibreWolf is running, the updater will notify you of the new version and start the update as soon as you close the browser. The last result can be found inLibreWolf-WinUpdater.ini
. - Or, if you use the portable release of LibreWolf, place
LibreWolf-WinUpdater.exe
in the same folder asLibreWolf-Portable.exe
. It will then automatically update LibreWolf whenever you runLibreWolf-Portable.exe
(checking for a new version max. once a day).
Scheduled updates
- You can right-click on
ScheduledTask-Create.ps1
and chooseRun with PowerShell
to create a scheduled task (for the current user account) that checks for updates every 4 hours, and at logon.
When run from a scheduled task, error messages will only be saved inLibreWolf-WinUpdater.ini
(no dialogs will be shown).
The updater will now run as administrator, so the installer can be run silently.
Warning: In order to run PowerShell scripts, the Execution Policy should set to at least RemoteSigned (Set-ExecutionPolicy RemoteSigned
). The included scripts try to automatically do that. You can reset this policy in an elevated PowerShell window by typingSet-ExecutionPolicy Default
andY
. - You can remove the scheduled task by right-clicking on
ScheduledTask-Remove.ps1
and choosingRun with PowerShell
.
Remarks
- The updater needs to be able to write to
LibreWolf-WinUpdater.ini
in its own folder, so make sure it has permission to do so. - The ini-file contains a
[Log]
section that shows the last update check result and the last update action.
Credits
- Original icon by the LibreWolf Community