Allow Desktop app to be auto-started minimised or focused (#2622)

This commit is contained in:
Michael Telatynski
2025-10-09 14:41:12 +01:00
committed by GitHub
parent e5f6bd882f
commit 5e882f8e08
9 changed files with 194 additions and 28 deletions
-2
View File
@@ -7,7 +7,6 @@ Please see LICENSE files in the repository root for full details.
import { type BrowserWindow } from "electron";
import type AutoLaunch from "auto-launch";
import { type AppLocalization } from "../language-helper.js";
// global type extensions need to use var for whatever reason
@@ -18,7 +17,6 @@ declare global {
var mainWindow: BrowserWindow | null;
var appQuitting: boolean;
var appLocalization: AppLocalization;
var launcher: AutoLaunch;
var vectorConfig: IConfigOptions;
var trayConfig: {
// eslint-disable-next-line camelcase