Merge pull request #2752

68c01782 updates: add a special case for "install-" build tags on windows (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-11-14 15:49:53 +02:00
commit 68d5952f6a
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ namespace tools
{
const char *base = user ? "https://downloads.getmonero.org/" : "http://updates.getmonero.org/";
#ifdef _WIN32
static const char extension[] = ".zip";
static const char *extension = strncmp(buildtag.c_str(), "install-", 8) ? ".zip" : ".exe";
#else
static const char extension[] = ".tar.bz2";
#endif