mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-25 20:09:27 +08:00
✨ 主界面开发&插件运行容器开发&菜单开发
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user