Closed Loakii closed 3 years ago
Running the script a second time results in all UWP apps to be removed
more details?
All I did was run it a second time and press uninstall on the dialog while nothing was checked.
How many apps were displayed?
Hm, so nothing was checked and by pressing "Uninstall" everything will be removed?
Yes
I couldn't exactly recall but is the button clickable if nothing is checked?
It definitely is clickable.
Hm... I need to do some tests.
Did you make a restart after script applying?
DM me on Discord: sanctuary_s#6351
Sorry sanctuary_s#6351 I'll be soon at home
Pressed uninstall both times.
First run (left all checkboxes default and used for all users):
Second run (left all checkboxes default):
OK...
Tested it again on fresh machine...
The issue is happening when nothing is checked. When nothing is checked it will just remove everything.
While I'm driving to home comment out thia function and test again https://github.com/farag2/Windows-10-Sophia-Script/blob/39df789b757af3fbeef5afeeceddb005b9ada705/Sophia/PowerShell%205.1/Sophia.ps1#L428
Commented out "UnpinTaskbarEdgeStore" Unchecked everything in the dialog
All UWP apps are removed.
Fail)
Closing the dialog works as intended. Nothing gets removed when I take the exact steps.
Either the uninstall button needs to be disabled when nothing is checked or the script needs to catch whenever nothing is checked and just continue (closing dialog behavior).
Already wrote to @oz-zo to fix it (this is his code). He's angry))
It seems @Inestic and Innokentii have fixed all bugs. I'm going to release the new version on the next week.
Before submitting a bug report:
Prerequisites
Steps to reproduce
Running the script a second time results in all UWP apps to be removed (including the unchecked ones). Pressed uninstall while nothing was checked.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.