diff options
| author | Martin Fischer <martin@push-f.com> | 2025-06-22 18:07:04 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2025-11-16 11:13:21 +0100 |
| commit | e9eb05fc7d05009bd31fc0c3f9140f3d584ff932 (patch) | |
| tree | 7f63a6234395fd709c593784168d28bce4db4eea /0001-force-frozen-true.patch | |
| parent | 628052d66ffaabc03ec3daa841b7a39e350d8826 (diff) | |
add default.nix and shell.nixnix
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 + |
