mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 13:54:54 +02:00
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()
|
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()))
|
if (!::PathFileExists(_pluginListFullPath.c_str()))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user