From 74f71905962692d3d595ef3e8ad1aa2f017f1062 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 1 Feb 2019 16:23:14 -0500 Subject: nits --- config.xml | 2 +- electron_js/main.js | 3 +++ package.json | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config.xml b/config.xml index 082aaab7..1ee3944e 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + zmNinja High performance ZoneMinder client diff --git a/electron_js/main.js b/electron_js/main.js index 95e1521b..ecabe3de 100644 --- a/electron_js/main.js +++ b/electron_js/main.js @@ -5,6 +5,7 @@ const {dialog} = require('electron') const path = require('path'); const url = require('url'); + // Module to create native browser window. const {BrowserWindow} = electron; var isFs = false; @@ -281,10 +282,12 @@ app.on('activate', () => { } }); +console.log ("Setting uncaught exception handler..."); app.on('uncaughtException', function (err) { console.log("***WHOOPS TIME****"+err); }); + app.on('will-quit', () => { // Unregister all shortcuts. globalShortcut.unregisterAll() diff --git a/package.json b/package.json index 81902b6e..c8ad7c6d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zmninjapro", "description": "Home security mobile app for ZoneMinder", - "version": "1.3.040", + "version": "1.3.041", "displayName": "zmNinja", "author": "Pliable Pixels", "license": "custom see LICENSE.md", @@ -97,6 +97,8 @@ "cordova-plugin-x-socialsharing": "^5.4.3", "cordova-sqlite-storage": "^1.5.3", "deep-equal": "^1.0.1", + "electron": "^4.0.1", + "electron-cli": "^0.2.8", "electron-window-state": "^4.1.1", "es6-promise-plugin": "^4.2.2", "jsonfile": "^4.0.0", -- cgit v1.2.3