diff --git a/index.html b/index.html index 64b2514..cadfaad 100644 --- a/index.html +++ b/index.html @@ -2,23 +2,8 @@ I love NW.js - - + +

NW.js is great!

diff --git a/script.js b/script.js new file mode 100644 index 0000000..d52f557 --- /dev/null +++ b/script.js @@ -0,0 +1,9 @@ +const uuidv4 = require('uuid').v4; + +console.log('uuidv4:', uuidv4()) + +// Don't show the window until it's loaded so that we don't get a white flash +const gui = require('nw.gui'); +onload = function() { + gui.Window.get().show(); +} diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..636e93a --- /dev/null +++ b/styles.css @@ -0,0 +1,5 @@ +body { + color: #fff; + background-color: #000; +} +