diff --git a/web/src/App.tsx b/web/src/App.tsx index da8d568..6489a8b 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -106,7 +106,11 @@ export default function App() { const handleCheckForUpdates = () => { setUpdateState('checking'); - (window as any).electronAPI?.checkForUpdates(); + (window as any).electronAPI?.checkForUpdates?.(); + // Timeout: falls Electron nicht antwortet, nach 15s zurücksetzen + setTimeout(() => { + setUpdateState(prev => prev === 'checking' ? 'error' : prev); + }, 15000); }; // Tab icon mapping @@ -181,6 +185,9 @@ export default function App() {
+ )} {updateState === 'downloading' && ( diff --git a/web/src/plugins/streaming/StreamingTab.tsx b/web/src/plugins/streaming/StreamingTab.tsx index d3856f9..66aa386 100644 --- a/web/src/plugins/streaming/StreamingTab.tsx +++ b/web/src/plugins/streaming/StreamingTab.tsx @@ -611,7 +611,7 @@ export default function StreamingTab({ data }: { data: any }) { {streams .filter(s => s.id !== myStreamId) .map(s => ( -
openInNewWindow(s.id)}> +
openJoinModal(s)}>
{'\u{1F5A5}\uFE0F'} LIVE