UWP: Fix uwptools that does not uninstall package (flutter/engine#27694)

This commit is contained in:
moko256
2021-08-10 02:24:41 +09:00
committed by GitHub
parent 8201437312
commit 846c5c5beb

View File

@@ -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 {