From 59fd018672fa7368dbb56d0909c9fab2b52f47e8 Mon Sep 17 00:00:00 2001 From: Dave Brotherstone Date: Sat, 15 Apr 2017 15:07:02 +0200 Subject: [PATCH] Use different URLs for 64bit plugin list This enables a manual list of plugins to be used until we get the admin system up and running for x64 plugins. When that does finally land, we can still use the separate lists, as that will keep the lists smaller, and only downloading what is actually required for the running version --- pluginManager/src/PluginManager.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pluginManager/src/PluginManager.h b/pluginManager/src/PluginManager.h index a1ff235..919aefb 100644 --- a/pluginManager/src/PluginManager.h +++ b/pluginManager/src/PluginManager.h @@ -26,6 +26,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "libinstall/ModuleInfo.h" +#ifdef _WIN64 +#define PLUGINS_MD5_URL _T("https://nppxml.bruderste.in/pm/xml/plugins64.md5.txt") +#define PLUGINS_HTTP_MD5_URL _T("http://nppxml.bruderste.in/pm/xml/plugins64.md5.txt") +#define PLUGINS_URL _T("https://nppxml.bruderste.in/pm/xml/plugins64.zip") +#define PLUGINS_HTTP_URL _T("http://nppxml.bruderste.in/pm/xml/plugins64.zip") + +#define DEV_PLUGINS_MD5_URL _T("https://nppxmldev.bruderste.in/pm/xml/plugins64.md5.txt") +#define DEV_PLUGINS_URL _T("https://nppxmldev.bruderste.in/pm/xml/plugins64.zip") +#else #define PLUGINS_MD5_URL _T("https://nppxml.bruderste.in/pm/xml/plugins2.md5.txt") #define PLUGINS_HTTP_MD5_URL _T("http://nppxml.bruderste.in/pm/xml/plugins2.md5.txt") #define PLUGINS_URL _T("https://nppxml.bruderste.in/pm/xml/plugins.zip") @@ -33,6 +42,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #define DEV_PLUGINS_MD5_URL _T("https://nppxmldev.bruderste.in/pm/xml/plugins2.md5.txt") #define DEV_PLUGINS_URL _T("https://nppxmldev.bruderste.in/pm/xml/plugins.zip") +#endif #ifdef ALLOW_OVERRIDE_XML_URL #define VALIDATE_BASE_URL _T("http://www.brotherstone.co.uk/npp/pm/admin/validate.php?md5=")