Skip to content

Commit

Permalink
Merge pull request #104 from Toshimichi0915/fix-login
Browse files Browse the repository at this point in the history
Fix BDP login with custom User Agent
  • Loading branch information
SanjaySunil authored Nov 27, 2021
2 parents 4045ca9 + f60ec53 commit 5da0674
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const createMainWindow = async () => {
preload: path.join(app.getAppPath(), './app/preload.js'),
},
});
win.webContents.userAgent = "DiscordBot (https://example.com, v0.0.1)"
win.on('ready-to-show', () => {
win.maximize();
win.show();
Expand Down

0 comments on commit 5da0674

Please sign in to comment.