mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-25 20:09:27 +08:00
♻️ search 框输入交互优化
This commit is contained in:
@@ -5,7 +5,11 @@ import commonConst from "../common/utils/commonConst";
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
import API from "./common/api";
|
||||
import createTray from "./common/tray";
|
||||
import registerHotKey from "./common/registerHotKey";
|
||||
|
||||
import "../common/utils/localPlugin";
|
||||
import "../common/utils/localConfig";
|
||||
|
||||
class App {
|
||||
private windowCreator: { init: () => void; getWindow: () => BrowserWindow };
|
||||
@@ -48,8 +52,8 @@ class App {
|
||||
this.createWindow();
|
||||
API(this.windowCreator.getWindow());
|
||||
// this.init()
|
||||
// createTray(this.windowCreator.getWindow())
|
||||
// autoUpdate()
|
||||
createTray(this.windowCreator.getWindow());
|
||||
registerHotKey(this.windowCreator.getWindow());
|
||||
};
|
||||
if (!app.isReady()) {
|
||||
app.on("ready", readyFunction);
|
||||
|
||||
Reference in New Issue
Block a user