1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-06-24 21:25:23 +00:00

webOS: Ported receiver to Electron 2.1.0 changes

This commit is contained in:
Michael Hollister 2025-05-09 10:44:26 -05:00
parent 61c1e9a9c1
commit e3c437a280
16 changed files with 2402 additions and 978 deletions

View file

@ -1,6 +1,13 @@
import { Opcode } from 'common/Packets';
import { Logger, LoggerType } from 'common/Logger';
// Required for webOS since preload declared interface is not available on the backend
declare global {
interface Window {
targetAPI: any;
}
}
// Window might be re-created while devices are still connected
export function setUiUpdateCallbacks(callbacks: any) {
const logger = window.targetAPI.logger;