aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-11-25 00:37:54 +0100
committerselsta <selsta@sent.at>2019-11-25 00:37:54 +0100
commit7ac7d5d32f2f5c23587135fc1dd7287b34fb2cd4 (patch)
treefb48dfda18625dc482eb816221a0be4e06ca9cc8 /src/common
parentMerge pull request #6155 (diff)
downloadmonero-7ac7d5d32f2f5c23587135fc1dd7287b34fb2cd4.tar.xz
updates: fix source code URL on _WIN32
Diffstat (limited to 'src/common')
-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 0bc6ff63c..f620bb53a 100644
--- a/src/common/updates.cpp
+++ b/src/common/updates.cpp
@@ -101,7 +101,7 @@ namespace tools
{
const char *base = user ? "https://downloads.getmonero.org/" : "https://updates.getmonero.org/";
#ifdef _WIN32
- static const char *extension = strncmp(buildtag.c_str(), "install-", 8) ? ".zip" : ".exe";
+ static const char *extension = strncmp(buildtag.c_str(), "source", 6) ? (strncmp(buildtag.c_str(), "install-", 8) ? ".zip" : ".exe") : ".tar.bz2";
#else
static const char extension[] = ".tar.bz2";
#endif