diff --git a/openfreebuds_backend/linux/linux_misc.py b/openfreebuds_backend/linux/linux_misc.py index 664d410..8183f0d 100644 --- a/openfreebuds_backend/linux/linux_misc.py +++ b/openfreebuds_backend/linux/linux_misc.py @@ -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" diff --git a/scripts/build_flatpak/pw.mmk.OpenFreebuds.yml b/scripts/build_flatpak/pw.mmk.OpenFreebuds.yml index 1adf06c..11f77cd 100644 --- a/scripts/build_flatpak/pw.mmk.OpenFreebuds.yml +++ b/scripts/build_flatpak/pw.mmk.OpenFreebuds.yml @@ -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 diff --git a/scripts/constants.sh b/scripts/constants.sh deleted file mode 100755 index ea56e1f..0000000 --- a/scripts/constants.sh +++ /dev/null @@ -1,2 +0,0 @@ -DEB_CODENAMES="bookworm jammy mantic" -DEVELOPER_SIGN="MelianMiko "