pub(crate) fn remove(package: &InstalledPackage) -> Result<()>Expand description
Remove a native executable package.
The backend prefers the recorded uninstall command from
EngineMetadata::NativeExe when one is available. If the uninstall command
fails or is missing, the module falls back to direct directory cleanup so the
install tree is still removed.