Fix Scoop update/uninstall failing for packages installed via manifest URL by GabrielDuf · Pull Request #4594 · Devolutions/UniGetUI (original) (raw)

Fix for issue #4535 - When a Scoop package is installed via a manifest URL (e.g. scoop install https://raw.githubusercontent.com/... pomotroid.json), UniGetUI stores that URL as the package source. When building the operation command, the source was being prepended to the package ID, producing an invalid identifier

Fix

The condition that decides whether to omit the source prefix already handled ellipsed (...) and local path sources (:\). This PR extends it to also skip the prefix when the source is a URL (http/https), in both the operation helper (install/update/uninstall commands) and the details helper (scoop cat command).