diff --git a/index.js b/index.js new file mode 100644 index 0000000..39efff8 --- /dev/null +++ b/index.js @@ -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"); +}); \ No newline at end of file