From 846c5c5bebea3b38ea4f84d7243933933549a54d Mon Sep 17 00:00:00 2001 From: moko256 Date: Tue, 10 Aug 2021 02:24:41 +0900 Subject: [PATCH] UWP: Fix uwptools that does not uninstall package (flutter/engine#27694) --- engine/src/flutter/shell/platform/windows/uwptool_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/windows/uwptool_utils.cc b/engine/src/flutter/shell/platform/windows/uwptool_utils.cc index 9ac41fbc04..34c233ecdd 100644 --- a/engine/src/flutter/shell/platform/windows/uwptool_utils.cc +++ b/engine/src/flutter/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 {