Skip to content

bug: uninstall failed when pwsh.exe installed by scoop #147

Description

Details:
#143
The root cause is:

  • The shim executable generated by Scoop is not the actual pwsh.
  • It must first parse the target program, determine whether it's GUI or console, and then forward the arguments.
  • In certain environments, the parsing fails and outputs:
    Shim: Could not determine if target is a GUI app. Assuming console.
  • It returns a non-zero exit code, which the Coreutils uninstaller treats as a fatal error.

Simplest fix it is add a tip in README.md ,let users use microsoft's pwsh.exe rather than other pwsh.exe(e.g. scoop)

To fix this fundamentally, you might want to consider my PR #74.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions