From 8a20b9aecebb12995c4e16b7e7c2cb1939765e13 Mon Sep 17 00:00:00 2001 From: tntwise Date: Sat, 31 Aug 2024 21:49:30 +0000 Subject: [PATCH] maybe fix flatpak --- src/Util.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Util.py b/src/Util.py index ae657ed7..19e01953 100644 --- a/src/Util.py +++ b/src/Util.py @@ -29,14 +29,7 @@ def backendDirectory(): """ if isFlatpak(): - # Get the absolute path of the current script - current_script_path = os.path.abspath(__file__) - - # Get the directory of the current script - current_directory = os.path.dirname(current_script_path) - - print("Current directory:", current_directory) - return current_directory + return "/app/bin" else: return cwd