소스 검색

Add a comments

Jessica Lord 9 년 전
부모
커밋
ae4e0afaaf
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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.