mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
updates: fix source code URL on _WIN32
This commit is contained in:
parent
f971068363
commit
7ac7d5d32f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user