Merge pull request #6678

cc19397 updates: mac gui .tar.bz2 -> .dmg (selsta)
This commit is contained in:
luigi1111 2020-06-22 14:26:08 -05:00
commit 829cbfd700
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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