主界面开发&插件运行容器开发&菜单开发

This commit is contained in:
muwoo
2021-11-26 17:22:45 +08:00
parent 072d57f068
commit 766ba46dcc
59 changed files with 29326 additions and 244 deletions

View File

@@ -2,6 +2,9 @@
import { app, globalShortcut, protocol, BrowserWindow } from "electron";
import { main } from "./browsers";
import commonConst from "../common/utils/commonConst";
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import API from "./common/api";
class App {
private windowCreator: { init: () => void; getWindow: () => BrowserWindow };
@@ -42,6 +45,7 @@ class App {
onReady() {
const readyFunction = () => {
this.createWindow();
API(this.windowCreator.getWindow());
// this.init()
// createTray(this.windowCreator.getWindow())
// autoUpdate()