aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-11-14 15:49:53 +0200
committerRiccardo Spagni <ric@spagni.net>2017-11-14 15:49:53 +0200
commit68d5952f6a91dd4cc490f8a318415bf5e57199a1 (patch)
treef8750c79de5e21603387daab4f07f296a7951f5b /src
parentMerge pull request #2750 (diff)
parentupdates: add a special case for "install-" build tags on windows (diff)
downloadmonero-68d5952f6a91dd4cc490f8a318415bf5e57199a1.tar.xz
Merge pull request #2752
68c01782 updates: add a special case for "install-" build tags on windows (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/common/updates.cpp2
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