diff options
| author | Alexander Blair <snipa@jagtech.io> | 2020-02-06 00:33:49 -0800 |
|---|---|---|
| committer | Alexander Blair <snipa@jagtech.io> | 2020-02-06 00:33:49 -0800 |
| commit | af27276452ce4e1218d229180656e15060e5427d (patch) | |
| tree | 24e938615ec7e8d594f18ff83d1b6ad388c99fc7 /src/common | |
| parent | e552ba14b27e0c48c04016d49328099943046089 (diff) | |
| parent | 7ac7d5d32f2f5c23587135fc1dd7287b34fb2cd4 (diff) | |
| download | monzero-core-af27276452ce4e1218d229180656e15060e5427d.tar.gz monzero-core-af27276452ce4e1218d229180656e15060e5427d.tar.xz monzero-core-af27276452ce4e1218d229180656e15060e5427d.zip | |
Merge pull request #6178
7ac7d5d3 updates: fix source code URL on _WIN32 (selsta)
Diffstat (limited to 'src/common')
| -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 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 |
