From 6d93b98ee530c77e5e1f3eb72581562f6c44cb2f Mon Sep 17 00:00:00 2001 From: Andre <200930841+Andre-Bzk@users.noreply.github.com> Date: Sat, 16 May 2026 13:10:38 +0200 Subject: [PATCH] fix: ship electron-log in Flatpak The Flatpak only copied a hand-picked subset of Node runtime dependencies. Once logging was introduced in the main and preload processes, the app could fail before opening a window because electron-log was missing from the packaged runtime. Including it keeps the Flatpak runtime consistent with the codebase and removes an early startup failure path on Steam Deck. --- flatpak/tv.twitch4steamdeck.App.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/flatpak/tv.twitch4steamdeck.App.yml b/flatpak/tv.twitch4steamdeck.App.yml index baadbf8..8869726 100644 --- a/flatpak/tv.twitch4steamdeck.App.yml +++ b/flatpak/tv.twitch4steamdeck.App.yml @@ -97,6 +97,7 @@ modules: - mkdir -p /app/lib/twitch4steamdeck/node_modules - cp -r node_modules/better-sqlite3 /app/lib/twitch4steamdeck/node_modules/ - cp -r node_modules/bindings /app/lib/twitch4steamdeck/node_modules/ + - cp -r node_modules/electron-log /app/lib/twitch4steamdeck/node_modules/ - cp -r node_modules/file-uri-to-path /app/lib/twitch4steamdeck/node_modules/ # Electron-Binary (Linux, via npm install in WSL2) # Electron binary (Linux, via npm install in WSL2)