Merge pull request #1 from CtrlVP/CtrlVP-patch-1

Replaced 'browser' with 'main'
This commit is contained in:
Vivek Patel 2015-07-29 15:09:34 +02:00
commit 2ded7497b6

View file

@ -38,7 +38,7 @@ process.on 'uncaughtException', (error) ->
# Show error in GUI.
stack = error.stack ? "#{error.name}: #{error.message}"
message = "Uncaught Exception:\n#{stack}"
require('dialog').showErrorBox 'A JavaScript error occured in the browser process', message
require('dialog').showErrorBox 'A JavaScript error occured in the main process', message
# Emit 'exit' event on quit.
app = require 'app'