1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Check for new profanity version using new URL

Regards https://github.com/profanity-im/profanity/issues/1085
This commit is contained in:
Michael Vetter 2019-05-03 10:30:44 +02:00
parent 83433ee8e0
commit 1446ac15cb
2 changed files with 2 additions and 2 deletions

View File

@ -269,7 +269,7 @@ file_getline(FILE *stream)
char*
release_get_latest(void)
{
char *url = "http://www.profanity.im/profanity_version.txt";
char *url = "https://profanity-im.github.io/profanity_version.txt";
CURL *handle = curl_easy_init();
struct curl_data_t output;

View File

@ -442,7 +442,7 @@ cons_check_version(gboolean not_available_msg)
if (relase_valid) {
if (release_is_new(latest_release)) {
win_println(console, THEME_DEFAULT, '-', "A new version of Profanity is available: %s", latest_release);
win_println(console, THEME_DEFAULT, '-', "Check <http://www.profanity.im> for details.");
win_println(console, THEME_DEFAULT, '-', "Check <https://profanity-im.github.io> for details.");
win_println(console, THEME_DEFAULT, '-', "");
} else {
if (not_available_msg) {