Merge pull request #970 from ciderapp/feature/aptest
Some casting fixes
This commit is contained in:
commit
3b2c142b54
8 changed files with 98 additions and 6 deletions
|
@ -95,6 +95,7 @@ export class BrowserWindow {
|
|||
"components/fullscreen",
|
||||
"components/miniplayer",
|
||||
"components/castmenu",
|
||||
"components/airplay-modal",
|
||||
"components/artist-chip",
|
||||
"components/hello-world",
|
||||
"components/inline-collection-list",
|
||||
|
@ -897,6 +898,10 @@ export class BrowserWindow {
|
|||
event.returnValue = process.platform;
|
||||
});
|
||||
|
||||
ipcMain.on("get-port", (event) => {
|
||||
event.returnValue = this.clientPort;
|
||||
});
|
||||
|
||||
ipcMain.on("is-dev", (event) => {
|
||||
event.returnValue = this.devMode;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue