mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Check for new profanity version using new URL
Regards https://github.com/profanity-im/profanity/issues/1085
This commit is contained in:
parent
83433ee8e0
commit
1446ac15cb
@ -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;
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user