diff options
Diffstat (limited to '0001-force-frozen-true.patch')
| -rw-r--r-- | 0001-force-frozen-true.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/0001-force-frozen-true.patch b/0001-force-frozen-true.patch new file mode 100644 index 00000000..ef345bb0 --- /dev/null +++ b/0001-force-frozen-true.patch @@ -0,0 +1,27 @@ +From af541a4f8ddda287f74687327e4ed89b79557777 Mon Sep 17 00:00:00 2001 +From: tropf <tropf@noreply.codeberg.org> +Date: Mon, 5 Aug 2024 21:25:33 +0200 +Subject: [PATCH 1/3] force frozen=true + +Enforce installation in frozen mode, i.e. as a packaged version where +source can not be modified. +--- + inkstitch.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/inkstitch.py b/inkstitch.py +index 50f33d19..398465ca 100644 +--- a/inkstitch.py ++++ b/inkstitch.py +@@ -40,7 +40,7 @@ else: + ini = {} + # -------------------------------------------------------------------------------------------- + +-running_as_frozen = getattr(sys, 'frozen', None) is not None # check if running from pyinstaller bundle ++running_as_frozen = True + + if not running_as_frozen: # override running_as_frozen from DEBUG.toml - for testing + if safe_get(ini, "DEBUG", "force_frozen", default=False): +-- +2.36.0 + |
