mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
updates: use https for updates
This commit is contained in:
parent
472a93c83a
commit
a1d44f2746
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue