diff --git a/src/main/features/linux/mpris.ts b/src/main/features/linux/mpris.ts index 035db8e7..48d0816d 100644 --- a/src/main/features/linux/mpris.ts +++ b/src/main/features/linux/mpris.ts @@ -107,6 +107,10 @@ mprisPlayer.on('seek', (event: number) => { }); }); +mprisPlayer.on('raise', () => { + getMainWindow()?.show(); +}); + ipcMain.on('update-position', (_event, arg: number) => { mprisPlayer.getPosition = () => arg * 1e6; });