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:
parent
83433ee8e0
commit
1446ac15cb
@ -269,7 +269,7 @@ file_getline(FILE *stream)
|
|||||||
char*
|
char*
|
||||||
release_get_latest(void)
|
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();
|
CURL *handle = curl_easy_init();
|
||||||
struct curl_data_t output;
|
struct curl_data_t output;
|
||||||
|
@ -442,7 +442,7 @@ cons_check_version(gboolean not_available_msg)
|
|||||||
if (relase_valid) {
|
if (relase_valid) {
|
||||||
if (release_is_new(latest_release)) {
|
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, '-', "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, '-', "");
|
win_println(console, THEME_DEFAULT, '-', "");
|
||||||
} else {
|
} else {
|
||||||
if (not_available_msg) {
|
if (not_available_msg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user