mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-21 10:40:27 -05:00
fix win8 exception
This commit is contained in:
1 file changed
+6
-3
+6
-3
@@ -31,10 +31,13 @@ BOOLEAN _app_package_getpackage_info (
|
||||
if (!package)
|
||||
return FALSE;
|
||||
|
||||
status = package.Status ();
|
||||
if (_r_sys_isosversiongreaterorequal (WINDOWS_10_1507))
|
||||
{
|
||||
status = package.Status ();
|
||||
|
||||
if (status.Disabled () || status.NotAvailable ())
|
||||
return FALSE;
|
||||
if (status.Disabled () || status.NotAvailable ())
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
display_name = package.DisplayName ();
|
||||
path = package.InstalledLocation ().Path ();
|
||||
|
||||
Reference in new issue
Block a user