We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No updates are installed when WAU_ActivateGPOManagement is false (or not set) because WingetSourceCustom is not initialised.
QuickFix in file "C:\Program Files\Winget-AutoUpdate\Winget-Upgrade.ps1": add Line 34: [string]$Script:WingetSourceCustom = $DefaultWingetRepoName;
Regards SebNeu
2.2.2-n
Windows 11
v1.9.25200
No response
The text was updated successfully, but these errors were encountered:
Fix Romanitho#823
83e917a
I undid my quick fix because I don't know nothing about @AndrewDemski-ad-gmail-com intentions and thoughts with this in the now closed Pull #789
Sorry, something went wrong.
HI @sebneus Big thanks for spotting! I must have merged those two ifs together and did not realize the obvious lack of init for that new variable.
I proposed the addition in #827
At some point we will need to pass everything through Formatter in PSScriptAnalyzer to make it easier to spot missing 'else's.
No branches or pull requests
The problem
No updates are installed when WAU_ActivateGPOManagement is false (or not set) because WingetSourceCustom is not initialised.
QuickFix in file "C:\Program Files\Winget-AutoUpdate\Winget-Upgrade.ps1":
add Line 34:
[string]$Script:WingetSourceCustom = $DefaultWingetRepoName;
Regards
SebNeu
What version of WAU has the issue?
2.2.2-n
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11
What version of winget are you using?
v1.9.25200
Log information
Additional information
No response
The text was updated successfully, but these errors were encountered: