Skip to content

Commit

Permalink
maybe fix flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Aug 31, 2024
1 parent b2f492d commit 8a20b9a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8a20b9a

Please sign in to comment.