Skip to content

All your computers and your phone/iPhone, working as one desk. Screens, apps, files, clipboard, calls, texts, notifications, mouse and keyboard, shared between Mac, Windows, Linux , Android, Web and ios / ipados . Free and open source. No account, no cloud, and no shared network needed.

466 B
Raw Blame
// TwinDesk — Copyright (C) 2026 inukaasith. GPL-3.0, see LICENSE.
// The hidden sound window's API: audio.* messages in and out, state back to main.
const { contextBridge, ipcRenderer } = require('electron');

contextBridge.exposeInMainWorld('sound', {
  on: (fn) => ipcRenderer.on('sound', (_e, m) => fn(m)),
  send: (m) => ipcRenderer.send('sound-out', m),
  state: (s) => ipcRenderer.send('sound-state', s),
  ready: () => ipcRenderer.send('sound-ready'),
});