From a25a9baf1e2fa713629ad4214f86224b7d14516d Mon Sep 17 00:00:00 2001 From: Trigam <142107083+TrigamDev@users.noreply.github.com> Date: Sat, 12 Sep 2026 12:32:36 -0400 Subject: [PATCH] fix: include renderers in pyinstaller build (#1504) --- scripts/tagstudio.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/tagstudio.spec b/scripts/tagstudio.spec index ee709ce7..ed4cb92f 100755 --- a/scripts/tagstudio.spec +++ b/scripts/tagstudio.spec @@ -13,6 +13,7 @@ from tomllib import load from PyInstaller.building.api import COLLECT, EXE, PYZ from PyInstaller.building.build_main import Analysis from PyInstaller.building.osx import BUNDLE +from PyInstaller.utils.hooks import collect_submodules parser = ArgumentParser() # HACK: Without this, the script will fail if empty arguments are passed. @@ -45,7 +46,7 @@ a = Analysis( pathex=[], binaries=[], datas=datafiles, - hiddenimports=[], + hiddenimports=collect_submodules("tagstudio.previews.renderers"), hookspath=[], hooksconfig={}, excludes=[],