Skip to content

Commit

Permalink
feat: Allow www.pling.com and www.appimagehub.com as update source
Browse files Browse the repository at this point in the history
The purposed format for the whole update information would be:

`pling-v1-zsync|<content id>|<file name matching pattern>`

closes AppImage#1152
  • Loading branch information
azubieta committed Oct 26, 2021
1 parent c9e0b67 commit 5bec95b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/appimagetool.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,8 @@ main (int argc, char *argv[])
if(!g_str_has_prefix(updateinformation,"zsync|"))
if(!g_str_has_prefix(updateinformation,"bintray-zsync|"))
if(!g_str_has_prefix(updateinformation,"gh-releases-zsync|"))
die("The provided updateinformation is not in a recognized format");
if(!g_str_has_prefix(updateinformation,"pling-v1-zsync|"))
die("The provided updateinformation is not in a recognized format");

gchar **ui_type = g_strsplit_set(updateinformation, "|", -1);

Expand Down

0 comments on commit 5bec95b

Please sign in to comment.