11 lines
234 B
JavaScript
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();
|
|
}
|
|
|