Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
fix: update user agent
Browse files Browse the repository at this point in the history
Closes #424
  • Loading branch information
sentialx committed Apr 1, 2020
1 parent 778c8b7 commit 25d4110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class View extends BrowserView {
this.webContents.userAgent = this.webContents.userAgent
.replace(/ Wexond\\?.([^\s]+)/g, '')
.replace(/ Electron\\?.([^\s]+)/g, '')
.replace(/Chrome\\?.([^\s]+)/g, 'Chrome/80.0.3987.122');
.replace(/Chrome\\?.([^\s]+)/g, 'Chrome/80.0.3987.162');

(this.webContents as any).windowId = window.id;

Expand Down

0 comments on commit 25d4110

Please sign in to comment.