Update UpdUtil.cpp

Corrects the typo in the uninstallKey name.

[skip ci]
This commit is contained in:
offhub 2024-10-04 19:13:48 +03:00 committed by GitHub
parent 142456f1c8
commit d717538575
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -822,7 +822,7 @@ std::shared_ptr<SAddon> ReadAddon(const JSONObject& addon, const std::wstring& c
pAddon->InstallPath = GetSpecificEntryValue(addon, L"installPath", core_arch, agent_arch, framework);
pAddon->Installer = GetSpecificEntryValue(addon, L"installer", core_arch, agent_arch, framework);
pAddon->UninstallKey = GetSpecificEntryValue(addon, L"uninstallPey", core_arch, agent_arch, framework);
pAddon->UninstallKey = GetSpecificEntryValue(addon, L"uninstallKey", core_arch, agent_arch, framework);
for (auto I = addon.begin(); I != addon.end(); ++I) {
if (I->first.find(L'-') != std::wstring::npos)
@ -1804,4 +1804,4 @@ bool GetDriverInfo(DWORD InfoClass, void* pBuffer, size_t Size)
return false;
}
return true;
}
}