From 71a180c5e4c46e616b93e5e1c104b05d5b817f2c Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Thu, 2 Jul 2026 20:49:28 +0800 Subject: Permit flatpak-builder to access Downloads folder Useful when using FMOD and/or Discord Social. The variable for using Discord Social is added too though it's set to OFF by default. --- net.megapahit.Viewer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net.megapahit.Viewer.json b/net.megapahit.Viewer.json index c4fb933..2d197b4 100644 --- a/net.megapahit.Viewer.json +++ b/net.megapahit.Viewer.json @@ -9,7 +9,8 @@ "LL_BUILD": "-O3 -std=c++20 -fPIC -DLL_LINUX=1" }, "build-args": [ - "--share=network" + "--share=network", + "--filesystem=xdg-download" ] }, "finish-args": [ @@ -35,6 +36,7 @@ "-DADDRESS_SIZE:STRING=64", "-DUSE_OPENAL:BOOL=ON", "-DUSE_FMODSTUDIO:BOOL=OFF", + "-DUSE_DISCORD:BOOL=OFF", "-DUSE_FLATPAK:BOOL=ON", "-DENABLE_MEDIA_PLUGINS:BOOL=ON", "-DLL_TESTS:BOOL=OFF", -- cgit v1.3