1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-20 11:24:07 +00:00

Revert "Inform user if Desktop client already running (#17846)" as per user feedback (#18897)

This reverts commit a199744e24.

Co-authored-by: neuronull <9162534+neuronull@users.noreply.github.com>
This commit is contained in:
Meteoni-San
2026-02-18 23:22:38 +01:00
committed by GitHub
parent f8b5e15a44
commit c90b4ded33

View File

@@ -4,7 +4,7 @@ import { once } from "node:events";
import * as path from "path";
import * as url from "url";
import { app, BrowserWindow, dialog, ipcMain, nativeTheme, screen, session } from "electron";
import { app, BrowserWindow, ipcMain, nativeTheme, screen, session } from "electron";
import { concatMap, firstValueFrom, pairwise } from "rxjs";
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
@@ -127,7 +127,6 @@ export class WindowMain {
if (!isMacAppStore()) {
const gotTheLock = app.requestSingleInstanceLock();
if (!gotTheLock) {
dialog.showErrorBox("Error", "An instance of Bitwarden Desktop is already running.");
app.quit();
return;
} else {