We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb10bf2 commit 69f88edCopy full SHA for 69f88ed
index.js
@@ -60,7 +60,12 @@ function createMainWindow() {
60
win.maximize();
61
}
62
63
- win.webContents.loadURL(store.get("url"));
+ // Force user-agent "Firefox Windows" for Google OAuth to work
64
+ // From https://github.com/firebase/firebase-js-sdk/issues/2478#issuecomment-571356751
65
+ const userAgent =
66
+ "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:70.0) Gecko/20100101 Firefox/70.0";
67
+
68
+ win.webContents.loadURL(store.get("url"), { userAgent });
69
win.on("closed", onClosed);
70
71
injectCSS(win.webContents, path.join(__dirname, "youtube-music.css"));
0 commit comments