Skip to content

Commit

Permalink
#219: Disable electron security warning messages printed to dev tools…
Browse files Browse the repository at this point in the history
… console
  • Loading branch information
bstein committed Aug 18, 2022
1 parent dd683c0 commit 1ba3edf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/background.js
Expand Up @@ -37,6 +37,8 @@ import { getEnv } from './env';
const remoteMain = require('@electron/remote/main');
remoteMain.initialize();

process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 'true';

app.on('ready', () => {

const mainWindow = createWindow('main', {
Expand Down

0 comments on commit 1ba3edf

Please sign in to comment.