nwjs-simple/view/script-module.js
2022-10-02 21:27:39 -07:00

11 lines
234 B
JavaScript

import { v4 as uuidv4 } from 'uuid';
console.log('uuidv4:', uuidv4());
// Don't show the window until it's loaded so that we don't get a white flash
import { Window } from 'nw.gui';
onload = function() {
Window.get().show();
}