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:
parent
61c1e9a9c1
commit
e3c437a280
16 changed files with 2402 additions and 978 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue