Compare commits

..

No commits in common. "77240ae18db785f17ec1cb8a960d3397596cc938" and "40c539189a5c1a0546950f03908f6a32dd1fdaac" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "real-debrid-downloader",
"version": "1.6.76",
"version": "1.6.75",
"description": "Desktop downloader",
"main": "build/main/main/main.js",
"author": "Sucukdeluxe",

View File

@ -173,10 +173,6 @@ export class BestDebridWebFallback {
existing.close();
}
// Set user agent on session level so Cloudflare Turnstile sees a real Chrome
const currentSession = session.fromPartition(partition);
currentSession.setUserAgent(BESTDEBRID_USER_AGENT);
const window = new BrowserWindow({
width: 1120,
height: 900,
@ -190,7 +186,6 @@ export class BestDebridWebFallback {
nodeIntegration: false
}
});
window.webContents.setUserAgent(BESTDEBRID_USER_AGENT);
window.setMenuBarVisibility(false);
window.on("closed", () => {
if (this.loginWindow === window) {