Skip to content

Winget Upgrade 1.3

Latest
Compare
Choose a tag to compare
@sergeiown sergeiown released this 08 Nov 08:18
· 4 commits to main since this release
e8505fa

Release Notes

Purpose

Winget Upgrade simplifies the update process by checking for winget availability and upgrading all installed programs on the system with a single command. It also ensures efficient logging and manages log size automatically.

Key Features

  • Winget Availability Check: Before starting the update, the program checks whether Winget is installed on the system. If Winget is not installed, the program displays an error message and stops execution, providing instructions on how to install it. Next, the program checks the version of Winget. If the version of Winget is less than the one required for correct execution of commands, the program displays an error message and provides instructions on how to update Winget to the latest version via the Microsoft Store or the command line.

  • Program Upgrades: The Winget Upgrade program uses the winget export and winget import commands to update all installed programs. Upgrade process:

    • Automatically accepts the terms of the agreement.
    • Disables interactivity, allowing the upgrade process to continue without interruption.
  • Logging: Records upgrade events and errors in a winget_upgrade.log file, saved to the user’s My Documents folder. Automatically truncates the log file to keep it under 256 KB.

  • Dynamic creation and application of an ignore file: When the program is first launched, it generates an ignore file template ignore.json, which specifies the packages that do not need to be updated. The user has the opportunity to add all the necessary packages, it should be noted that package names are case-sensitive.

System Requirements

Supported on Windows versions with winget (Windows Package Manager) support: Windows 10 Version 1809 (Build 17763) and later or Windows 11 windows_compatibility

Recent Changes

  • The method for updating packages has been changed from all to import / export.
  • Added the ability to use the ignore list for packages that should not be updated.
  • Improved troubleshooting instructions for issues related to the absence of winget or an outdated version.
  • Improved code by optimizing functions and moving unnecessary ones from main.js to utils.js.
  • Future plans are left to the future.