From 5bec95b66e88fda20a72da372aa60802c452f723 Mon Sep 17 00:00:00 2001 From: Alexis Lopez Zubieta Date: Wed, 20 Oct 2021 14:33:49 -0500 Subject: [PATCH] feat: Allow www.pling.com and www.appimagehub.com as update source The purposed format for the whole update information would be: `pling-v1-zsync||` closes #1152 --- src/appimagetool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/appimagetool.c b/src/appimagetool.c index 6b37419..b993925 100644 --- a/src/appimagetool.c +++ b/src/appimagetool.c @@ -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); -- 2.11.4.GIT