Skip to content

Commit

Permalink
Use different URLs for 64bit plugin list
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bruderstein committed Apr 15, 2017
1 parent c5578d3 commit 59fd018
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pluginManager/src/PluginManager.h
Expand Up @@ -26,13 +26,23 @@ 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")
#define PLUGINS_HTTP_URL _T("http://nppxml.bruderste.in/pm/xml/plugins.zip")

#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=")
Expand Down

0 comments on commit 59fd018

Please sign in to comment.