feat: refactor main and preload scripts, update window service logic, enhance TitleBar component, and adjust login page layout
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user