Skip to content

A full-featured download manager.

chore: disable electron security warnings

Dr_rOot5e6620529883
diff --git a/src/main/index.js b/src/main/index.js
index 8ce43df0..9e7edb61 100644
--- a/src/main/index.js
+++ b/src/main/index.js
@@ -3,6 +3,8 @@ import is from 'electron-is'
import Launcher from './Launcher'
+process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 'true'
+
if (process.env.NODE_ENV !== 'development') {
global.__static = require('path').join(__dirname, '/static').replace(/\\/g, '\\\\')
}