Add index.js for NW.js app

master
Skylar Ittner 5 年前
父节点 a4d6334cd9
当前提交 9d0ab3f38d

@ -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");
});
正在加载...
取消
保存