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.
This commit is contained in:
Andre
2026-05-16 13:10:38 +02:00
parent 722bbc6f43
commit 6d93b98ee5
+1
View File
@@ -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)