Romanitho / Winget-AutoUpdate

WAU daily updates apps as system and notify connected users. (Allowlist and Blocklist support)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: .folder file attempts to open whenever winget-autoupdate runs

ABalloi opened this issue · comments

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 }

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.