mirror of
https://github.com/modernw/AppInstallerForWin8.git
synced 2026-04-13 20:28:21 +10:00
Updates for WebUI:
· [Important] Fixed the destruction issue with PriReader (caused by incorrect pointer types leading to unexecuted object destruction tasks). · [Important] Added a program execution selection interface for packages containing multiple applications (still using WebUI). Issue: Since the selection window is set to close when losing focus, checking the "Launch when ready" option after successful installation causes the pop-up window to disappear when a Toast notification appears (due to focus loss). Currently, the selection window can only be displayed by clicking a button. · [Optimization] Reduced the creation of PriReader objects to lower memory and storage consumption. (Translated by DeepSeek)
This commit is contained in:
@@ -316,7 +316,7 @@ class PriReader
|
||||
PriReader (): priReader (NULL) {}
|
||||
void destroy ()
|
||||
{
|
||||
if (!priReader) return;
|
||||
if (priReader == NULL) return;
|
||||
DestroyPriReader (priReader);
|
||||
priReader = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user