You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On certain installations, the "C:\ProgramData\Winget-AutoUpdate\functions" folder contains a .folder file. It is unclear why the .folder file is present in this directory.
This is causing an issue where a pop-up stating "Windows can't open this type of file (.folder) appears whenever winget-upgrade.ps1 executes.
What version of WAU has the issue?
1.19.1
What version of Windows are you using (ex. Windows 11 22H2)?
Microsoft Windows 10 Enterprise x64 10.0.19045 N/A Build 19045
What version of winget are you using?
Windows Package Manager v1.6.3482
Log information
No response
Additional information
This line seems to be causing the issue, due to the ".folder" file existing in the functions directory.
Quick-Fix for bug reported in Romanitho#543
Summary: with additional parameters we filter files (and ignore folders), then drill it down to PS1 files, also proactively we ignore sub-folders if such are present.
The problem
On certain installations, the "C:\ProgramData\Winget-AutoUpdate\functions" folder contains a .folder file. It is unclear why the .folder file is present in this directory.
This is causing an issue where a pop-up stating "Windows can't open this type of file (.folder) appears whenever winget-upgrade.ps1 executes.
What version of WAU has the issue?
1.19.1
What version of Windows are you using (ex. Windows 11 22H2)?
Microsoft Windows 10 Enterprise x64 10.0.19045 N/A Build 19045
What version of winget are you using?
Windows Package Manager v1.6.3482
Log information
No response
Additional information
This line seems to be causing the issue, due to the ".folder" file existing in the functions directory.
Get-ChildItem "$WorkingDir\functions" | ForEach-Object { . $_.FullName }
The text was updated successfully, but these errors were encountered: