feat: refactor main and preload scripts, update window service logic, enhance TitleBar component, and adjust login page layout

This commit is contained in:
DEV_DSW
2026-04-27 09:10:57 +08:00
parent 4c61e93c3e
commit dd211056dd
7 changed files with 99 additions and 171 deletions

View File

@@ -266,7 +266,7 @@ class WindowService {
public focus(target: BrowserWindow | void | null) {
if (!target) return;
const name = this.getName(target);
if (target?.isMaximized()) {
if (target?.isMinimized()) {
target?.restore();
logManager.debug(`Window ${name} restored and focused`);
} else {