diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-11-14 15:49:53 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-11-14 15:49:53 +0200 |
commit | 68d5952f6a91dd4cc490f8a318415bf5e57199a1 (patch) | |
tree | f8750c79de5e21603387daab4f07f296a7951f5b | |
parent | Merge pull request #2750 (diff) | |
parent | updates: add a special case for "install-" build tags on windows (diff) | |
download | monero-68d5952f6a91dd4cc490f8a318415bf5e57199a1.tar.xz |
Merge pull request #2752
68c01782 updates: add a special case for "install-" build tags on windows (moneromooo-monero)
-rw-r--r-- | src/common/updates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/updates.cpp b/src/common/updates.cpp index 8a057b1cf..141330c2c 100644 --- a/src/common/updates.cpp +++ b/src/common/updates.cpp @@ -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 |