refactor: block windows app update if the browser is running

This commit is contained in:
zhom
2026-07-20 00:16:49 +04:00
parent a4ed5c855a
commit a71dad735e
24 changed files with 345 additions and 30 deletions
+1 -1
View File
@@ -950,7 +950,7 @@ export default function Home() {
}
} catch (err: unknown) {
console.error("Failed to launch browser:", err);
const errorMessage = err instanceof Error ? err.message : String(err);
const errorMessage = translateBackendError(t, err);
showErrorToast(
t("errors.launchBrowserFailed", { error: errorMessage }),
);