From f1ac594b41c69490aee6a3809f29580cb376b2be Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 27 Mar 2022 17:22:36 -0400 Subject: [PATCH] fix .spec file to work for splash and icon - removed the ".." --- build/pyinstaller/terminal.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/pyinstaller/terminal.spec b/build/pyinstaller/terminal.spec index ccd9c257c7d..19a9f0da136 100644 --- a/build/pyinstaller/terminal.spec +++ b/build/pyinstaller/terminal.spec @@ -84,7 +84,7 @@ exe_kwargs = dict( target_arch="x86_64", codesign_identity=None, entitlements_file=None, - icon=os.path.join(os.getcwd(), "..", "..", "images", "gst_app.ico"), + icon=os.path.join(os.getcwd(), "images", "gst_app.ico"), ) # Packaging settings @@ -108,8 +108,9 @@ elif build_type == "folder": # Platform specific settings if is_win: + print(os.getcwd()) splash = Splash( - os.path.join(os.getcwd(), "..", "..", "images", "splashscreen.png"), + os.path.join(os.getcwd(), "images", "splashscreen.png"), binaries=a.binaries, datas=a.datas, text_pos=(200, 400),