That is, when I installed pwsh.exe by Scoop, I can't uninstall it!
Expected Behavior
That is what I expected. Because I searched in the source of Scoop, I found a condition that if there is a pwsh.exe on the user's PC, use this pwsh. Else, use powershell.
Additional context/output
I think this is enough. Thanks.
Possible Solution
Add a special condition, if that the user wants to uninstall the pwsh.exe by Scoop, then don't use pwsh.exe. Use powershell then.
Bug Report
Current Behavior
That is, when I installed pwsh.exe by Scoop, I can't uninstall it!
Expected Behavior
That is what I expected. Because I searched in the source of Scoop, I found a condition that if there is a pwsh.exe on the user's PC, use this pwsh. Else, use powershell.
Additional context/output
I think this is enough. Thanks.
Possible Solution
Add a special condition, if that the user wants to uninstall the pwsh.exe by Scoop, then don't use pwsh.exe. Use powershell then.
System details
Windows version: 10
OS architecture: 64bit
PowerShell version: 5.1.14393.2879
Additional software: pwsh.exe: 7.4.5
Scoop Configuration