diff options
author | selsta <selsta@sent.at> | 2020-06-22 02:55:22 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2020-06-22 02:55:22 +0200 |
commit | 2f1ad3b3d2ef02894817f34993673053a89bb2bc (patch) | |
tree | 6a4099f74f4e963c59aed635a786bf06b77ddaad /src | |
parent | Merge pull request #6656 (diff) | |
download | monero-2f1ad3b3d2ef02894817f34993673053a89bb2bc.tar.xz |
updates: mac gui .tar.bz2 -> .dmg
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 f620bb53a..7af7bf978 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 |