This commit is contained in:
Bruce
2025-12-09 20:36:40 +08:00
parent c0c39b9379
commit 5c18f75cb6
25 changed files with 2976 additions and 1716 deletions
Binary file not shown.
+4 -2
View File
@@ -1223,7 +1223,7 @@ public ref class MainHtmlWnd: public System::Windows::Forms::Form, public IScrip
{
try
{
const auto &pi = *g_pkginfo.begin ();
const auto &pi = g_pkginfo.at (0);
const std::wstring
&name = pi.identity.name,
&publisher = pi.identity.publisher,
@@ -1231,7 +1231,9 @@ public ref class MainHtmlWnd: public System::Windows::Forms::Form, public IScrip
&fullname = pi.identity.package_full_name;
std::vector <find_pkginfo> fpkgs;
std::wstring err, msg;
HRESULT hr = GetAppxPackages (family, fpkgs, err, msg);
HRESULT hr = S_OK;
if (g_initfile [L"Settings"] [L"AppInstaller:CheckPackageIsIntalled"].read_bool ())
hr = GetAppxPackages (family, fpkgs, err, msg);
bool isfind = false;
find_pkginfo findpkg;
if (fpkgs.size () > 0)