unbreak qwack's commit
This commit is contained in:
parent
74ffd4811c
commit
51a2fb53c5
1 changed files with 2 additions and 1 deletions
|
@ -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) => {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue