package: include source-map-support when running with electron too now that it's always bundled
This commit is contained in:
parent
c122ba27cc
commit
dd59f26ef4
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue