Jessica Lord 9 lat temu
rodzic
commit
ae4e0afaaf
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      main.js

+ 4 - 0
main.js

@@ -29,6 +29,7 @@ function createWindow () {
 
 // This method will be called when Electron has finished
 // initialization and is ready to create browser windows.
+// Some APIs can only be used after this event occurs.
 app.on('ready', createWindow);
 
 // Quit when all windows are closed.
@@ -47,3 +48,6 @@ app.on('activate', function () {
     createWindow();
   }
 });
+
+// In this file you can include the rest of your app specific main process
+// code. You can also put them in files and require them here.