Browse Source

Change AutoPlay policy to be what the user expects until the webapps catch up.

pull/3202/head
TheGoddessInari 6 years ago
parent
commit
dc60e3b43d
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 2
      electron/main.js

2
electron/main.js

@ -47,6 +47,8 @@ const config = new Config({
}
});
app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required');
// Fix issues with HiDPI scaling on Windows platform
if (config.get('enable_hidpi_support') && (process.platform === 'win32')) {
app.commandLine.appendSwitch('high-dpi-support', 'true');

Loading…
Cancel
Save