From cd09c1c0a2cb8c027be9f9e9e605a50d2f1854be Mon Sep 17 00:00:00 2001 From: moko256 Date: Mon, 26 Jul 2021 00:19:07 +0900 Subject: [PATCH] UWP: Fix uwptools that does not uninstall package --- shell/platform/windows/uwptool_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/windows/uwptool_utils.cc b/shell/platform/windows/uwptool_utils.cc index 9ac41fbc042fb..34c233ecdde4a 100644 --- a/shell/platform/windows/uwptool_utils.cc +++ b/shell/platform/windows/uwptool_utils.cc @@ -96,7 +96,7 @@ bool ApplicationStore::Install( bool ApplicationStore::Uninstall(const std::wstring_view package_family) { bool success = true; for (const Application& app : GetApps(package_family)) { - if (Uninstall(app.GetPackageFullName())) { + if (UninstallPackage(app.GetPackageFullName())) { std::wcerr << L"Uninstalled application " << app.GetPackageFullName() << std::endl; } else {