Browse Source

Add index.js for NW.js app

tags/v1.1.0
Skylar Ittner 11 months ago
parent
commit
9d0ab3f38d
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      index.js

+ 12
- 0
index.js View File

@@ -0,0 +1,12 @@
/*
* 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('www/index.html', {
"id": "notepostapp_mainwindow"
}, function (win) {
win.setMinimumSize(300, 450);
win.setPosition("center");
});

Loading…
Cancel
Save