Add temporary fix for twitter (and others) not loading in webviews
Pending https://github.com/electron/electron/issues/25469
This commit is contained in:
parent
0e9ed7492c
commit
108d48b35d
@ -4,6 +4,9 @@ import {app} from "electron";
|
||||
import Meta from "./Meta";
|
||||
import Application from "./Application";
|
||||
|
||||
// Fix for twitter (and others) in webviews - pending https://github.com/electron/electron/issues/25469
|
||||
app.commandLine.appendSwitch('disable-features', 'CrossOriginOpenerPolicy');
|
||||
|
||||
const application = new Application(Meta.isDevMode());
|
||||
|
||||
// Check if application is already running
|
||||
|
Loading…
Reference in New Issue
Block a user