package: include source-map-support when running with electron too now that it's always bundled

This commit is contained in:
bordun 2018-10-28 17:25:22 +01:00
parent 4adb00474f
commit 71f7ea7ea2

View file

@ -1,3 +1,5 @@
require('source-map-support').install({handleUncaughtExceptions: false})
var dev = process.argv[0].includes('node_modules'),
settings = require('./settings')
@ -7,8 +9,6 @@ function nodeMode() {
console.warn('Running with node')
require('source-map-support').install({handleUncaughtExceptions: false})
if (!settings.read('noGui')) {
settings.cli = true
settings.write('noGui', true, true)