Closed swsnr closed 1 year ago
This makes MediathekView use the standard download directory on Unix desktops by default. It also improves permission management for the flatpak build (see https://github.com/flathub/de.mediathekview.MediathekView/ and #679 ), as flatpak can selectively allow applications access to specific standard directories within their sandbox.
/cc @alex1702
@derreisende77 Thank you 🙏🏿
Use xdg-user-dir to find the standard download directory on Unix desktops, see https://www.freedesktop.org/wiki/Software/xdg-user-dirs/.
If xdg-user-dir doesn't exist or doesn't return anything, fall back to
~/MediathekView
as before.