Closed WrayOfSunshine closed 3 weeks ago
I would personally prefer to see Discord installed on an all-users basis rather than per-user, in any case, but that's not relevant to this particular issue.
The Discord app auto updates. I'd recommend not having it checked when updating. I'll look into omiting if it detects it already installed.
Describe the bug
If Discord is already installed (even if installed via WinUtil) and then is selected when choosing "Install/Upgrade Selected", the script does not fail over to the next install/upgrade when it should.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The script should get the error report from winget that it cannot upgrade this package and move on to the next package or finish, as appropriate. This happens with other packages.
Additional context
Notable - if I ctrl+c on the powershell window, I then get a popup asking for user credentials to be utilized to install Discord (this does not appear for me until I attempt to fail out of the install). Canceling that credential window gives an error about not being provided credentials, but still does not fail out of the install attempt sufficiently to allow working with the GUI.