diff --git a/apps/desktop/electron-forge/forge.config.ts b/apps/desktop/electron-forge/forge.config.ts index 0b78b3e1f..0c0531c8e 100644 --- a/apps/desktop/electron-forge/forge.config.ts +++ b/apps/desktop/electron-forge/forge.config.ts @@ -70,7 +70,6 @@ const config: ForgeConfig = { ] }, rebuildConfig: { - force: true, extraModules: [ "better-sqlite3" ] }, makers: [ @@ -91,8 +90,20 @@ const config: ForgeConfig = { baseVersion: "24.08", baseFlatpakref: "https://flathub.org/repo/flathub.flatpakrepo", finishArgs: [ + // Wayland/X11 Rendering "--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: [ {