From a996abe77545066dffbb21bb88f9ff5831531669 Mon Sep 17 00:00:00 2001 From: TheBrokenRail <17478432+TheBrokenRail@users.noreply.github.com> Date: Tue, 21 Jun 2022 16:42:43 -0400 Subject: [PATCH] Throw nicer error on missing `zsyncmake` --- appimagebuilder/modules/prime/appimage_primer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appimagebuilder/modules/prime/appimage_primer.py b/appimagebuilder/modules/prime/appimage_primer.py index 26be973..4bd3614 100644 --- a/appimagebuilder/modules/prime/appimage_primer.py +++ b/appimagebuilder/modules/prime/appimage_primer.py @@ -166,7 +166,7 @@ def _patch_appimage(self, offset, data): def _generate_zsync_file(self): if self.config["update-information"]: - zsyncmake_bin = shutil.which("zsyncmake") + zsyncmake_bin = shell.require_executable("zsyncmake") command = [ zsyncmake_bin, "-u",