handoff and version viewing in about.ejs
This commit is contained in:
parent
6900ed0f11
commit
f20e59d52e
4 changed files with 23 additions and 0 deletions
|
@ -123,6 +123,14 @@ export class AppEvents {
|
|||
}
|
||||
})
|
||||
|
||||
if (process.platform === "darwin") {
|
||||
app.setUserActivity('8R23J2835D.com.ciderapp.webremote.play', {
|
||||
title: 'Web Remote',
|
||||
description: 'Connect to your Web Remote',
|
||||
}, "https://webremote.cider.sh")
|
||||
}
|
||||
console.log(app.getCurrentActivityType())
|
||||
|
||||
this.InstanceHandler()
|
||||
this.InitTray()
|
||||
}
|
||||
|
|
|
@ -601,6 +601,10 @@ export class BrowserWindow {
|
|||
shareMenu.popup();
|
||||
})
|
||||
|
||||
ipcMain.on('get-version', (_event) => {
|
||||
app.getVersion()
|
||||
BrowserWindow.win.webContents.send('version', app.getVersion());
|
||||
});
|
||||
|
||||
/* *********************************************************************************************
|
||||
* Window Events
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue