Winget Upgrader is a Node.js command line tool that automates the process of updating software on your computer using Windows Package Manager (Winget).
Structure and appearance | |
---|---|
Dependencies | |
Console appearance |
Winget Upgrader uses Winget commands to update all software installed on your computer. It automatically checks for Winget on your system, performs the software updates, and keeps an event log for easy tracking of the process.
Windows Package Manager (Winget) is a package management tool for Windows that allows
you to easily install, update and uninstall software directly from the command line.
Winget allows you to update installed programs quickly and conveniently, making it
a useful tool for keeping your system up to date.
Before starting the update, the program checks if Winget is installed on the system. If Winget is not installed, the program displays an error and stops working.
Winget Upgrader uses the winget upgrade --all
command to upgrade all installed programs. It automatically accepts the terms of the agreement and disables interactivity so that the upgrade process is continuous.
The program keeps a log of events in the winget_upgrade.log
file, where it stores information about actions performed, errors and other events related to the upgrade process.
The winget_upgrade.log
log file is saved in %USERPROFILE%\documents\
folder.
The log is automatically truncated if its size exceeds 256 KB to avoid file overflow.
- Windows OS with Winget support.
Use the winget_upgrade.exe
available for download in the release or use an alternative method:
- Run the program using the command
node main.js
. - The program will automatically check for Winget in the system.
- If Winget is present, it will start updating the entire software.
- The upgrade process will be displayed in the console window and written to the
%USERPROFILE%\documents\winget_upgrade.log
log file. - After the update is complete, the program will automatically exit in 10 seconds, or you can exit manually by pressing any key.
In case of errors, the program displays the corresponding messages in the console and writes them to the log file for further analysis.
When the program is finished updating, it automatically exits to free up system resources.
main.js
: The main program file.utils.js
: Module for executing commands and logging events.settings.js
: A module that contains the necessary settings for executing commands and logging events.