macOS handoff and cider go beep

This commit is contained in:
child_duckling 2022-02-05 16:37:00 -08:00
parent e453bfb94e
commit 74ffd4811c
3 changed files with 18 additions and 0 deletions

View file

@ -549,6 +549,9 @@ export class BrowserWindow {
let url = `http://${BrowserWindow.getIP()}:${this.remotePort}`;
BrowserWindow.win.webContents.send('send-remote-pair-url', url);
})
app.setUserActivity('com.CiderCollective.remote.pair', {
ip: `${BrowserWindow.getIP()}`
}, `http://${BrowserWindow.getIP()}:${this.remotePort}`);
// Get previews for normalization
ipcMain.on("getPreviewURL", (_event, url) => {