diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-08-16 12:46:51 -0700 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-08-16 12:46:51 -0700 |
commit | 236256f114be029009fb9e031ab3af807d52ef4c (patch) | |
tree | 79d841dc7e3da150322e1448c128c976dd7267bd /src | |
parent | Merge pull request #6677 (diff) | |
parent | updates: mac gui .tar.bz2 -> .dmg (diff) | |
download | monero-236256f114be029009fb9e031ab3af807d52ef4c.tar.xz |
Merge pull request #6679
2f1ad3b3d updates: mac gui .tar.bz2 -> .dmg (selsta)
Diffstat (limited to 'src')
-rw-r--r-- | src/common/updates.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/updates.cpp b/src/common/updates.cpp index c51c4320f..61a76f5da 100644 --- a/src/common/updates.cpp +++ b/src/common/updates.cpp @@ -102,6 +102,8 @@ namespace tools const char *base = user ? "https://downloads.getmonero.org/" : "https://updates.getmonero.org/"; #ifdef _WIN32 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 static const char extension[] = ".tar.bz2"; #endif |