Skip to content

Commit

Permalink
feat: enable discovery for multiple brands (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux committed Mar 29, 2022
1 parent 6e5f4fa commit 49769de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ function createMainWindow() {
}
if (rcServer) {
appUrl = `${appUrl}&appServer=${rcServer}`;
if (rcServer.indexOf('discovery') > -1) {
appUrl = `${appUrl}&discovery=1`;
}
}
mainView.webContents.loadURL(appUrl);
mainView.webContents.setWindowOpenHandler((event) => {
Expand Down

0 comments on commit 49769de

Please sign in to comment.