Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Commit

Permalink
✨ Fix popouts without injecting javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
OmegaRogue committed Sep 17, 2023
1 parent f309f0c commit fa870c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ const createWindow = () => {
webgl: true
},
});
// Fix Popouts
win.webContents.setUserAgent(win.webContents.getUserAgent().replace("Electron", ""));
win.webContents.on('did-start-loading', () => {
win.setTitle(app.getName() + ' * Loading ....');
win.setProgressBar(2, {mode: 'indeterminate'}) // second parameter optional
Expand Down

0 comments on commit fa870c2

Please sign in to comment.