aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2020-06-22 02:38:00 +0200
committerselsta <selsta@sent.at>2020-06-22 02:53:46 +0200
commitcc19397b48f105f3dbd167049dc90913c28ea7cd (patch)
tree877aa7d43a738a08f9cf9bf4b539b5ff842c6f8e
parentMerge pull request #6648 (diff)
downloadmonero-cc19397b48f105f3dbd167049dc90913c28ea7cd.tar.xz
updates: mac gui .tar.bz2 -> .dmg
-rw-r--r--src/common/updates.cpp2
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