Compare commits

..

1 Commits

Author SHA1 Message Date
hobokenchicken 3d0bc76ef2 fix(linux): guard WebSocket.prototype assignment — read-only on WebKitGTK
Release Desktop Apps / build-linux (push) Successful in 4m22s
Release Desktop Apps / build-windows (push) Successful in 17m10s
Release Desktop Apps / release (push) Successful in 11s
2026-07-20 12:26:14 -04:00
+2 -1
View File
@@ -79,7 +79,8 @@ if (isTauri) {
return ws;
} as unknown as typeof WebSocket;
window.WebSocket.prototype = OriginalWebSocket.prototype;
// ponytail: WebKitGTK may have read-only prototype — guard against throw
try { window.WebSocket.prototype = OriginalWebSocket.prototype; } catch { /* readonly, fine */ }
}
createRoot(document.getElementById('root')!).render(