Phase 6 Fix 3

- Gamepad steamdeck repariert
- Navigation , Start und Stopp der Wiedergabe ist jetzt möglich
This commit is contained in:
Andre
2026-04-10 22:03:42 +02:00
parent ac9f9ea94f
commit f592de7aeb
11 changed files with 354 additions and 30 deletions
+4
View File
@@ -4,6 +4,7 @@ import { AuthService } from './auth/authService'
import { HelixClient } from './twitch/helixClient'
import { PlaybackService } from './playback/playbackService'
import { registerIpcHandlers } from './ipc/handlers'
import { startGamepadReader } from './input/gamepadReader'
const isDev = !app.isPackaged
@@ -49,7 +50,10 @@ app.whenReady().then(async () => {
registerIpcHandlers(auth, helix, playback)
const stopGamepad = startGamepadReader(() => BrowserWindow.getAllWindows()[0] ?? null)
app.on('before-quit', () => {
stopGamepad()
playback.stopAll()
})