Undo change due to force pushing on the master

This commit is contained in:
Janosch Maier 2021-04-15 19:33:30 +02:00 committed by Ben Gotow
parent 84e53ca462
commit 501852f07f

View file

@ -258,11 +258,6 @@ export default class Application extends EventEmitter {
// Configures required javascript environment flags.
setupJavaScriptArguments() {
if (process.env.SNAP && process.platform === 'linux') {
// https://snapcraft.io/docs/browser-support-interface
// https://github.com/electron-userland/electron-builder/blob/df5d050e47f2030e48e65c0e3b542c3aec61e9de/packages/app-builder-lib/src/targets/snap.ts#L197-L202
app.commandLine.appendSwitch('no-sandbox');
}
app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required');
app.commandLine.appendSwitch('js-flags', '--harmony');
}