Skip to content

Commit b2ccf2c

Browse files
committed
feat: use system browser for oauth flow
Signed-off-by: Adam Setch <[email protected]>
1 parent 9eb07ce commit b2ccf2c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/main.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,6 @@ app.whenReady().then(async () => {
5656
mb.on('ready', () => {
5757
mb.app.setAppUserModelId(APPLICATION.ID);
5858

59-
/**
60-
* TODO: Remove @electron/remote use - see #650
61-
* GitHub OAuth 2 Login Flows - Enable Remote Browser Window Launch
62-
*/
63-
require('@electron/remote/main').initialize();
64-
require('@electron/remote/main').enable(mb.window.webContents);
65-
6659
// Tray configuration
6760
mb.tray.setToolTip(APPLICATION.NAME);
6861
mb.tray.setIgnoreDoubleClickEvents(true);

0 commit comments

Comments
 (0)