Skip to content

Commit

Permalink
[Fix] Flatpak appdata path
Browse files Browse the repository at this point in the history
  • Loading branch information
melianmiko committed Sep 22, 2024
1 parent 5f27c4d commit 9a8f564
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions openfreebuds_backend/linux/linux_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@


def get_app_storage_path():
if pathlib.Path('/app/is_container').exists():
return pathlib.Path.home() / ".var/app/pw.mmk.OpenFreebuds/config"
return pathlib.Path.home() / ".config"


Expand Down
2 changes: 0 additions & 2 deletions scripts/build_flatpak/pw.mmk.OpenFreebuds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ finish-args:
- --system-talk-name=org.bluez
# Display tray icon
- --talk-name=org.kde.StatusNotifierWatcher
# Store settings
- --persist=.config/openfreebuds

cleanup-commands:
- /app/cleanup-BaseApp.sh
Expand Down
2 changes: 0 additions & 2 deletions scripts/constants.sh

This file was deleted.

0 comments on commit 9a8f564

Please sign in to comment.