AgentRev / WindowsAppsUnfukker

PowerShell script to fix WindowsApps-related permission errors and crashes.
The Unlicense
387 stars 23 forks source link

Minor Issue - Rest everything works well! #27

Closed K3n20 closed 1 year ago

K3n20 commented 1 year ago

First of all super thanks for making this awesome script! It works well!! after searching the internet and trying half working solutions, I came across your script, and it fixed my issue! Many thanks!

The script has an out of context "else" block at line 232 which fails its execution. I locally made the change, shifted the "else" block inside the previous "elseif", to be precise i placed it after line 228 (you know what i mean!). The script ran well after that and my system is back to normal!

Once again super thanks for this awesome fix and please fix this minor error in the script. Cheers!

Note: I had moved the else block in the said position as it appeared to be the right place, if not please do move it in the right position as per your logic flow!

Before:

image

After:

image

AgentRev commented 1 year ago

https://github.com/AgentRev/WindowsAppsUnfukker/commit/e541fec4e6f3d7e407f1aaa07ef64f62d090b64a