Add index.js for NW.js app
padre
a4d6334cd9
commit
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");
|
||||
});
|
Cargando…
Referencia en una nueva incidencia