fix(forge): missing flatpak permissions (closes #7454)

This commit is contained in:
Elian Doran
2025-10-22 17:44:19 +03:00
parent d34e2a0246
commit 93f145a20f

View File

@@ -70,7 +70,6 @@ const config: ForgeConfig = {
] ]
}, },
rebuildConfig: { rebuildConfig: {
force: true,
extraModules: [ "better-sqlite3" ] extraModules: [ "better-sqlite3" ]
}, },
makers: [ makers: [
@@ -91,8 +90,20 @@ const config: ForgeConfig = {
baseVersion: "24.08", baseVersion: "24.08",
baseFlatpakref: "https://flathub.org/repo/flathub.flatpakrepo", baseFlatpakref: "https://flathub.org/repo/flathub.flatpakrepo",
finishArgs: [ finishArgs: [
// Wayland/X11 Rendering
"--socket=fallback-x11", "--socket=fallback-x11",
"--socket=wayland" "--socket=wayland",
"--share=ipc",
// Open GL
"--device=dri",
// Audio output
"--socket=pulseaudio",
// Read/write home directory access
"--filesystem=home",
// Allow communication with network
"--share=network",
// System notifications with libnotify
"--talk-name=org.freedesktop.Notifications",
], ],
modules: [ modules: [
{ {