Skip to content

[Bug]: WAU runs applications after updating them even if they were not running before #1138

@maelstrm-code

Description

@maelstrm-code

The problem

Issue:
This is unsafe because some applications may trigger automations or actions which should not occur unless the application is explicitly run. It can also create performance penalties by running things in the background that should be left off.

Correct behaviour:
WAU should check if an application is running before it performs an update, and then only run the application if it was running previously (ideally with the same flags the application had been running with, if any).

What version of WAU has the issue?

2.10.0.2070

What version of Windows are you using (ex. Windows 11 22H2)?

Windows 11 25H2

What version of winget are you using?

2.10.0.2070

Log information

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions