mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
54bc54f1a1
commit
53e9d50410
@ -26,7 +26,6 @@ import { InstalledExtension, extensionDiscovery } from "../extensions/extension-
|
||||
import type { LensExtensionId } from "../extensions/lens-extension";
|
||||
import { installDeveloperTools } from "./developer-tools";
|
||||
import { filesystemProvisionerStore } from "./extension-filesystem";
|
||||
import { exitApp } from "./exit-app";
|
||||
|
||||
const workingDir = path.join(app.getPath("appData"), appName);
|
||||
let proxyPort: number;
|
||||
@ -53,9 +52,7 @@ if (!instanceLock) {
|
||||
}
|
||||
|
||||
app.on("second-instance", () => {
|
||||
if (windowManager) {
|
||||
windowManager.ensureMainWindow();
|
||||
}
|
||||
windowManager?.ensureMainWindow();
|
||||
});
|
||||
|
||||
app.on("ready", async () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user