cargo-nw 0.1.1

Cargo subcommand for building NW application deployment packages (redistributables) for Windows, MacOS and Linux.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

nw.Window.open('app/index.html', {
    id: '___SNAKE___',
    title: '___TITLE___',
    width: 1027,
    height: 768,
    resizable: true,
    frame: false,
    transparent: false,
    show: true,
    icon: 'resources/icons/default-application-icon.png'
    // http://docs.nwjs.io/en/latest/References/Manifest%20Format/#window-subfields
}, (win) => {
    // console.log("index window:", win)
    resolve();
});