1From a86412c57833c24743214c9d3abb76093365769f Mon Sep 17 00:00:00 2001
2From: tropf <tropf@noreply.codeberg.org>
3Date: Mon, 5 Aug 2024 21:26:13 +0200
4Subject: [PATCH 2/3] plugin invocation: use python script as entrypoint
5
6Ink/Stitch is invoked by calling a script with command line parameters.
7Depending on the distribution format, this is bundled into a standalone
8binary -- at least for vanilla Ink/Stitch. For the nix version, we
9follow manual install, which does *not* bundle the file. Hence, the
10generation is patched to treat this packaged install as manual install,
11and to still refer to the python file.
12
13To keep the patchset small, only an if statement is changed, with the
14intent of only using the else path.
15---
16 lib/inx/utils.py | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/lib/inx/utils.py b/lib/inx/utils.py
20index 9168f2a2..00313639 100755
21--- a/lib/inx/utils.py
22+++ b/lib/inx/utils.py
23@@ -21,7 +21,7 @@ def build_environment():
24 extensions=['jinja2.ext.i18n']
25 )
26
27- if "BUILD" in os.environ:
28+ if False:
29 # building a ZIP release, with inkstitch packaged as a binary
30 # Command tag and icons path
31 if sys.platform == "win32":
32--
332.36.0
34