mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
updates: add a special case for "install-" build tags on windows
Those will have a ".exe" file extension, not .zip.
This commit is contained in:
parent
4146f2e202
commit
68c0178220
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue