unbreak qwack's commit

This commit is contained in:
Maikiwi 2022-02-05 20:03:15 -08:00
parent 74ffd4811c
commit 51a2fb53c5

View file

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