mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
updates: use https for updates
This commit is contained in:
parent
472a93c83a
commit
a1d44f2746
@ -98,7 +98,7 @@ namespace tools
|
|||||||
|
|
||||||
std::string get_update_url(const std::string &software, const std::string &subdir, const std::string &buildtag, const std::string &version, bool user)
|
std::string get_update_url(const std::string &software, const std::string &subdir, const std::string &buildtag, const std::string &version, bool user)
|
||||||
{
|
{
|
||||||
const char *base = user ? "https://downloads.getmonero.org/" : "http://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(), "install-", 8) ? ".zip" : ".exe";
|
static const char *extension = strncmp(buildtag.c_str(), "install-", 8) ? ".zip" : ".exe";
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user