mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
updates: mac gui .tar.bz2 -> .dmg
This commit is contained in:
parent
93257997bd
commit
2f1ad3b3d2
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,8 @@ namespace tools
|
||||||
const char *base = user ? "https://downloads.getmonero.org/" : "https://updates.getmonero.org/";
|
const char *base = user ? "https://downloads.getmonero.org/" : "https://updates.getmonero.org/";
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static const char *extension = strncmp(buildtag.c_str(), "source", 6) ? (strncmp(buildtag.c_str(), "install-", 8) ? ".zip" : ".exe") : ".tar.bz2";
|
static const char *extension = strncmp(buildtag.c_str(), "source", 6) ? (strncmp(buildtag.c_str(), "install-", 8) ? ".zip" : ".exe") : ".tar.bz2";
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
static const char *extension = strncmp(software.c_str(), "monero-gui", 10) ? ".tar.bz2" : ".dmg";
|
||||||
#else
|
#else
|
||||||
static const char extension[] = ".tar.bz2";
|
static const char extension[] = ".tar.bz2";
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue