From 1cdc40cf47f323fb2e9cbc6236d25da379c2958c Mon Sep 17 00:00:00 2001 From: Bas Delfos Date: Fri, 8 Dec 2017 17:19:21 +0100 Subject: [PATCH] Fixed window hocks and enabled restore window state on startup --- main_nwjs.html | 6 ++++++ package.json | 9 +++------ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 main_nwjs.html diff --git a/main_nwjs.html b/main_nwjs.html new file mode 100644 index 00000000..3f91ee5f --- /dev/null +++ b/main_nwjs.html @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/package.json b/package.json index e36711d6..55e9d9b0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "betaflight-configurator", "description": "Crossplatform configuration tool for Betaflight flight control system.", "version": "10.0.1", - "main": "main.html", + "main": "main_nwjs.html", + "bg-script": "eventPage.js", "default_locale": "en", "scripts": { "start": "node node_modules/gulp/bin/gulp.js debug", @@ -11,11 +12,7 @@ "gulp": "gulp" }, "window": { - "title": "Betaflight Configurator", - "icon": "images/bf_icon_128.png", - "toolbar": true, - "width": 1280, - "height": 800 + "show": false }, "repository": { "type": "git",