From e0a40e96ceea2f076afea8376e6283675b2693a0 Mon Sep 17 00:00:00 2001
From: Alexis Lopez Zubieta <contact@azubieta.net>
Date: Wed, 11 Sep 2019 12:17:48 -0500
Subject: [PATCH] Set the right AppImage filename on the zsync file

---
 pkg/appimage/appimagebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/appimage/appimagebuild b/pkg/appimage/appimagebuild
index a73bb66..10f632c 100755
--- a/pkg/appimage/appimagebuild
+++ b/pkg/appimage/appimagebuild
@@ -42,6 +42,7 @@ chmod 755 appimagetool
 
 # Fix url in zsync file
 sed -i "/^URL:.*$/c\URL: ${APPIMAGE_FILE_NAME}?job=appimage" *-x86_64.AppImage.zsync
+sed -i "/^Filename:.*$/c\Filename: ${APPIMAGE_FILE_NAME}" *-x86_64.AppImage.zsync
 
 mv *-x86_64.AppImage ../${APPIMAGE_FILE_NAME}
 mv *-x86_64.AppImage.zsync ../${ZSYNC_FILE_NAME}
-- 
GitLab