diff --git a/main.js b/main.js new file mode 100644 index 0000000..b461c7a --- /dev/null +++ b/main.js @@ -0,0 +1,13 @@ +/* + * Copyright 2021 Netsyms Technologies. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +nw.Window.open('index.html', { + id: "com.netsyms.ipentool_mainwindow" +}, function (win) { + win.setMinimumSize(300, 450); + win.setPosition("center"); +}); diff --git a/package.json b/package.json index f27631a..631dcc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "IPENtool", - "main": "index.html", + "main": "main.js", "version": "1.0.0", "keywords": [ "util",