refactor: remove tab management and related IPC events for cleaner architecture

This commit is contained in:
DEV_DSW
2026-04-22 08:58:16 +08:00
parent 7b8cf84ffb
commit a0cf8c73c9
6 changed files with 1 additions and 268 deletions

View File

@@ -1,6 +1,6 @@
"use strict";
require("electron");
require("./main-DXx4hjy_.js");
require("./main-EkESqPgI.js");
require("electron-squirrel-startup");
require("electron-log");
require("bytenode");

View File

@@ -5,14 +5,6 @@ var IPC_EVENTS = /* @__PURE__ */ ((IPC_EVENTS2) => {
IPC_EVENTS2["EXTERNAL_OPEN"] = "external-open";
IPC_EVENTS2["APP_SET_FRAMELESS"] = "app:set-frameless";
IPC_EVENTS2["APP_LOAD_PAGE"] = "app:load-page";
IPC_EVENTS2["TAB_CREATE"] = "tab:create";
IPC_EVENTS2["TAB_LIST"] = "tab:list";
IPC_EVENTS2["TAB_NAVIGATE"] = "tab:navigate";
IPC_EVENTS2["TAB_RELOAD"] = "tab:reload";
IPC_EVENTS2["TAB_BACK"] = "tab:back";
IPC_EVENTS2["TAB_FORWARD"] = "tab:forward";
IPC_EVENTS2["TAB_SWITCH"] = "tab:switch";
IPC_EVENTS2["TAB_CLOSE"] = "tab:close";
IPC_EVENTS2["LOG_TO_MAIN"] = "log-to-main";
IPC_EVENTS2["READ_FILE"] = "read-file";
IPC_EVENTS2["INVOKE"] = "ipc:invoke";