From 36ed4bfa3c07feb6772ea89aa74674204a089e7d Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sat, 2 Mar 2024 14:31:44 -0800 Subject: [PATCH] Set pyinstaller --contents-directory Revert back to old one-dir behaviour Ref.: pyinstaller/pyinstaller#7713 --- package/Tautulli-macos.spec | 3 ++- package/Tautulli-windows.spec | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package/Tautulli-macos.spec b/package/Tautulli-macos.spec index caa126d7..bd61f1f2 100644 --- a/package/Tautulli-macos.spec +++ b/package/Tautulli-macos.spec @@ -34,7 +34,8 @@ exe = EXE( exclude_binaries=True, name='Tautulli', console=False, - icon='../data/interfaces/default/images/logo-circle.icns' + icon='../data/interfaces/default/images/logo-circle.icns', + contents_directory='.' ) coll = COLLECT( exe, diff --git a/package/Tautulli-windows.spec b/package/Tautulli-windows.spec index cded3cf8..18f4219f 100644 --- a/package/Tautulli-windows.spec +++ b/package/Tautulli-windows.spec @@ -31,7 +31,8 @@ exe = EXE( exclude_binaries=True, name='Tautulli', console=False, - icon='..\\data\\interfaces\\default\\images\\logo-circle.ico' + icon='..\\data\\interfaces\\default\\images\\logo-circle.ico', + contents_directory='.' ) coll = COLLECT( exe,