浏览代码

del index

哆啦好梦 2 年之前
父节点
当前提交
f218407bb1
共有 1 个文件被更改,包括 0 次插入48 次删除
  1. 0 48
      electron/index.js

+ 0 - 48
electron/index.js

@@ -1,48 +0,0 @@
-const { Application } = require('ee-core');
-
-class App extends Application {
-
-  constructor() {
-    super();
-  }
-
-  /**
-   * core app have been loaded
-   */
-  async ready () {
-    // do some things
-  }
-
-  /**
-   * electron app ready
-   */
-  async electronAppReady () {
-    // do some things
-  }
-
-  /**
-   * main window have been loaded
-   */
-  async windowReady () {
-    // do some things
-    // 延迟加载,无白屏
-    const winOpt = this.config.windowsOption;
-    if (winOpt.show == false) {
-      const win = this.electron.mainWindow;
-      win.once('ready-to-show', () => {
-        win.show();
-      })
-    }
-  }
-
-  /**
-   * before app close
-   */  
-  async beforeClose () {
-    // do some things
-
-  }
-}
-
-App.toString = () => '[class App]';
-module.exports = App;