Make Plugin Admin excluded from Windows XP because wingup doesn't work

under XP
This commit is contained in:
Don HO 2018-12-22 18:47:27 +01:00
parent 4f24f81eb8
commit 6eabece7ad

View File

@ -683,6 +683,13 @@ typedef const char * (__cdecl * PFUNCGETPLUGINLIST)();
bool PluginsAdminDlg::isValide()
{
// GUP.exe doesn't work under XP
winVer winVersion = (NppParameters::getInstance())->getWinVersion();
if (winVersion <= WV_XP)
{
return false;
}
if (!::PathFileExists(_pluginListFullPath.c_str()))
{
return false;