mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
Merge pull request #2752
68c01782
updates: add a special case for "install-" build tags on windows (moneromooo-monero)
This commit is contained in:
commit
68d5952f6a
@ -100,7 +100,7 @@ namespace tools
|
|||||||
{
|
{
|
||||||
const char *base = user ? "https://downloads.getmonero.org/" : "http://updates.getmonero.org/";
|
const char *base = user ? "https://downloads.getmonero.org/" : "http://updates.getmonero.org/";
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static const char extension[] = ".zip";
|
static const char *extension = strncmp(buildtag.c_str(), "install-", 8) ? ".zip" : ".exe";
|
||||||
#else
|
#else
|
||||||
static const char extension[] = ".tar.bz2";
|
static const char extension[] = ".tar.bz2";
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user