Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perhaps a GUI for PSWindowsUpdate would be a good idea, like MintUpdate being a counterpart for Synaptic. Or maybe this could be an alternate layout option for guinget to reduce work and still include updating winget packages easily? #160

Open
DrewNaylor opened this issue Jan 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@DrewNaylor
Copy link
Owner

DrewNaylor commented Jan 7, 2023

(The first half or so of this issue discusses the updater GUI being a separate application, but later I got the idea to make it an alternate layout for guinget. The only issue with this idea is that currently winget doesn't seem to have proper PowerShell module support, so it'll have to wait.)

Not sure if it should be integrated directly into guinget like in the package list, but it could be a menu item near Available updates.... It would be a good idea to offer a button to open regular Windows Update from the GUI too. Maybe it could even be part of an "Available updates" dialog window, or maybe even have a button that displays available updates in the package list like Synaptic and then have the source be labeled as PSWindowsUpdate so that we know to run different commands for those items. The ID would be the KB number, and the description column would be just the description. Not sure about name, maybe just put the KB number in that, too?

So then, the other program just ends up being a simplified guinget that uses certain guinget code (like updating the cache and having buttons to open the sources manager), but otherwise focuses on being an updater. Or maybe, there can be a way to have guinget itself be an updater and just hide everything that would be in a fully-featured package manager GUI. That would be a better idea. Then there would be another shortcut that says something like guinget updates (this shortcut would use a command-line argument, and there probably should be an that automatically checks to update the cache on startup if the user decides to [have a separate checkbox for starting in the updater layout and starting in the package manager layout]) and a menu item somewhere maybe under View that switches the layout to the updater UI layout and back or forth at runtime, in case someone needs extra features or doesn't need so many. Changing the UI layout probably should have an option to ask every time, automatically, or never unmark packages the user has marked to install or uninstall, if they go to the updater layout from the package manager layout. A default layout would also be a good idea, in case the user prefers one over the other even without using the special shortcut.

There should be an option to automatically mark all available updates when going into the updater layout, as well as an option to only show packages that have updates available (in case someone wants to hide everything that doesn't have updates available and isn't being updated, while also showing everything marked for updates and everything they manually unmarked for updates). For this reason, there probably should still be access to Search and the sidebar list, but the sidebar could probably be hidden by default (with an option to show it by default in the updater layout; it would still have a button to show it under View) and Search would also only search for packages marked for update and/or with updates available, unless the option to not to that is selected, of course.

This is a decompiled version of PSWindowsUpdate that could be used:
https://github.com/sarog/PSWindowsUpdate

I forked the decompilation version.

@DrewNaylor DrewNaylor added the enhancement New feature or request label Jan 7, 2023
@DrewNaylor DrewNaylor changed the title Perhaps a GUI for PSWindowsUpdate would be a good idea, like MintUpdate being a counterpart for Synaptic. Or maybe this could be an alternate layout option for guinget to reduce work? Perhaps a GUI for PSWindowsUpdate would be a good idea, like MintUpdate being a counterpart for Synaptic. Or maybe this could be an alternate layout option for guinget to reduce work and still include updating winget packages easily? Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant