Make Plugin Admin excluded from Windows XP because wingup doesn't work
under XP
This commit is contained in:
parent
4f24f81eb8
commit
6eabece7ad
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user