Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

fix: expose detailed desktop update diagnostics

tianma-iff9e1214a79a8
diff --git a/apps/desktop/src/main/index.mjs b/apps/desktop/src/main/index.mjs
index b22cece3..1409e6ce 100644
--- a/apps/desktop/src/main/index.mjs
+++ b/apps/desktop/src/main/index.mjs
@@ -48,6 +48,7 @@ import {
verifyDownloadedWindowsUpdate,
} from "./windows-update-trust.mjs";
import electronUpdater from "electron-updater";
+import { createUpdateDiagnostic } from "./update-diagnostics.mjs";
import { createPluginPublicNetworkRuntime } from "./plugin-public-network.mjs";
import { createAiDirectRuntime } from "./ai-direct.mjs";
import { createAcpHostRuntime, registerAcpIpc } from "./acp-host.mjs";
@@ -125,6 +126,7 @@ let sidecar;
let tray;
let isQuitting = false;
let updateState = "idle";
+let updateError = null;
let updateCheckInFlight = null;
let updateDownloadInFlight = null;
let updateCheckTimer = null;
@@ -1091,8 +1093,15 @@ const refreshTrayMenu = () => {
const desktopUpdateStatus = () => ({
state: updateState,
version: downloadedUpdateVersion,
+ error: updateError,
});
+const recordUpdateError = (error, stage) => {
+ updateError = createUpdateDiagnostic(error, {
+ stage, version: app.getVersion(), platform: process.platform, arch: process.arch,
+ });
+};
+
const publishDesktopUpdateStatus = () => {
if (!mainWindow || mainWindow.isDestroyed()) return;
mainWindow.webContents.send("desktop:update-status-changed", desktopUpdateStatus());
@@ -1118,6 +1127,7 @@ const trackDesktopUpdateDownload = (downloadPromise, reason) => {
downloadedUpdateVersion = null;
windowsDownloadedUpdateVerified = false;
refreshTrayMenu();
+ recordUpdateError(error, "download");
publishDesktopUpdateStatus();
await writeDiagnostic("update.download-failed", { reason, message: error.message });
})
@@ -1172,10 +1182,14 @@ const checkForDesktopUpdate = (reason, { force = false, throwOnError = false } =
const now = Date.now();
if (!force && now - lastUpdateCheckAt < updateCheckFocusThrottleMs) return Promise.resolve(null);
lastUpdateCheckAt = now;
+ updateError = null;
+ publishDesktopUpdateStatus();
+ let diagnosticStage = "check";
void writeDiagnostic("update.check-started", { reason });
updateCheckInFlight = autoUpdater.checkForUpdates()
.then(async (result) => {
if (process.platform === "win32" && result?.isUpdateAvailable) {
+ diagnosticStage = "verify-windows-metadata";
trustedWindowsUpdate = await fetchTrustedWindowsUpdate({
version: result.updateInfo.version,
updateInfo: result.updateInfo,
@@ -1199,6 +1213,7 @@ const checkForDesktopUpdate = (reason, { force = false, throwOnError = false } =
trustedWindowsUpdate = null;
windowsDownloadedUpdateVerified = false;
refreshTrayMenu();
+ recordUpdateError(error, diagnosticStage);
publishDesktopUpdateStatus();
await writeDiagnostic("update.check-failed", { reason, message: error.message });
throw error;
@@ -1261,6 +1276,7 @@ const configureAutoUpdater = () => {
autoUpdater.autoInstallOnAppQuit = true;
}
updateState = "downloaded";
+ updateError = null;
downloadedUpdateVersion = info?.version || downloadedUpdateVersion;
refreshTrayMenu();
publishDesktopUpdateStatus();
@@ -1283,6 +1299,7 @@ const configureAutoUpdater = () => {
downloadedUpdateVersion = null;
windowsDownloadedUpdateVerified = false;
refreshTrayMenu();
+ recordUpdateError(error, "verify-windows-package");
publishDesktopUpdateStatus();
await writeDiagnostic("update.windows-package-blocked", { message: error.message });
});
@@ -1295,6 +1312,7 @@ const configureAutoUpdater = () => {
windowsDownloadedUpdateVerified = false;
}
refreshTrayMenu();
+ recordUpdateError(error, updateDownloadInFlight ? "download" : "check");
publishDesktopUpdateStatus();
void writeDiagnostic("update.error", { message: error.message });
});
@@ -1837,7 +1855,12 @@ const startApplication = async () => {
});
ipcMain.handle("desktop:update-status", () => desktopUpdateStatus());
ipcMain.handle("desktop:check-update", async () => {
- await checkForDesktopUpdate("manual", { force: true, throwOnError: true });
+ try {
+ await checkForDesktopUpdate("manual", { force: true, throwOnError: true });
+ } catch (error) {
+ // Return structured details rather than losing them in Electron IPC errors.
+ if (!updateError) recordUpdateError(error, "check");
+ }
return desktopUpdateStatus();
});
ipcMain.handle("desktop:download-update", () => downloadTrustedDesktopUpdate("manual-download"));
diff --git a/apps/desktop/src/main/update-diagnostics.mjs b/apps/desktop/src/main/update-diagnostics.mjs
new file mode 100644
index 00000000..496c33c3
--- /dev/null
+++ b/apps/desktop/src/main/update-diagnostics.mjs
@@ -0,0 +1,22 @@
+export const createUpdateDiagnostic = (error, { stage, version, platform, arch, now = new Date() }) => {
+ // Keep actionable errors, not response bodies, stacks, credentials or local paths.
+ const message = String(error?.message || error || "Unknown update error")
+ .split(/\r?\n(?:XML:|Response:|Headers:|Body:|\s*at )/i, 1)[0]
+ .replace(/https?:\/\/[^\s<>"')]+/gi, (value) => {
+ try {
+ const url = new URL(value);
+ return `${url.origin}${url.pathname}`;
+ } catch { return "[URL]"; }
+ })
+ .replace(/(?:authorization|cookie|token|password|secret)\s*[:=]\s*[^\r\n,;]+/gi, "[redacted]")
+ .replace(/\b[A-Za-z]:[\\/][^\r\n"<>]+/g, "[local path]")
+ .replace(/\/(?:Users|home)\/[^\s"<>]+/g, "[local path]")
+ .slice(0, 1200);
+ const rawCode = String(error?.code || message.match(/\b(?:ERR_[A-Z0-9_]+|E[A-Z]{3,})\b/)?.[0] || "");
+ return {
+ at: now.toISOString(), stage, version, platform, arch,
+ code: /^[A-Z0-9_-]{1,80}$/.test(rawCode) ? rawCode : null,
+ message,
+ source: "https://github.com/tianma-if/edgeever/releases",
+ };
+};
diff --git a/apps/desktop/src/main/update-diagnostics.test.mjs b/apps/desktop/src/main/update-diagnostics.test.mjs
new file mode 100644
index 00000000..fb0dd764
--- /dev/null
+++ b/apps/desktop/src/main/update-diagnostics.test.mjs
@@ -0,0 +1,26 @@
+import { expect, test } from "bun:test";
+import { createUpdateDiagnostic } from "./update-diagnostics.mjs";
+
+const context = { stage: "check", version: "1.107.0", platform: "win32", arch: "x64", now: new Date("2026-10-10T14:00:00Z") };
+
+test("preserves actionable network errors and UTC context", () => {
+ const result = createUpdateDiagnostic(new Error("net::ERR_CONNECTION_TIMED_OUT at https://github.com/tianma-if/edgeever/releases.atom"), context);
+ expect(result.code).toBe("ERR_CONNECTION_TIMED_OUT");
+ expect(result.message).toContain("releases.atom");
+ expect(result.at).toBe("2026-10-10T14:00:00.000Z");
+ expect(result.platform).toBe("win32");
+});
+
+test("removes URL credentials, query secrets, headers, paths and response bodies", () => {
+ const result = createUpdateDiagnostic(new Error('HTTP 403 https://user:[email protected]/release?token=private#secret\nAuthorization: Bearer sensitive\nC:\\Users\\Alice\\AppData\\file\nXML:\n<private>response body</private>'), context);
+ expect(result.message).toContain("HTTP 403 https://github.com/release");
+ for (const secret of ["user:pass", "private", "sensitive", "Alice", "response body"]) expect(result.message).not.toContain(secret);
+ expect(result.message).toContain("[local path]");
+});
+
+test("keeps signature failures distinct and bounds diagnostic size", () => {
+ const result = createUpdateDiagnostic({ code: "ERR_SIGNATURE", message: "Windows update manifest signature is invalid " + "x".repeat(5000) }, { ...context, stage: "verify-windows-metadata" });
+ expect(result.stage).toBe("verify-windows-metadata");
+ expect(result.code).toBe("ERR_SIGNATURE");
+ expect(result.message.length).toBeLessThanOrEqual(1200);
+});
diff --git a/apps/web/src/components/settings/SystemInfoPanel.tsx b/apps/web/src/components/settings/SystemInfoPanel.tsx
index 4c228e8d..ce13a158 100644
--- a/apps/web/src/components/settings/SystemInfoPanel.tsx
+++ b/apps/web/src/components/settings/SystemInfoPanel.tsx
@@ -324,11 +324,18 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
useEffect(() => () => {
if (copyResetTimeoutRef.current !== null) window.clearTimeout(copyResetTimeoutRef.current);
}, []);
+ const [updateDiagnosticCopyState, setUpdateDiagnosticCopyState] = useState<"idle" | "copied" | "error">("idle");
+ useEffect(() => {
+ if (!active || !desktopAvailable || !desktopBridge?.onUpdateStatus) return;
+ return desktopBridge.onUpdateStatus((status) => {
+ queryClient.setQueryData(["desktop-update-status"], status);
+ });
+ }, [active, desktopAvailable, desktopBridge, queryClient]);
const desktopUpdateCheckMutation = useMutation({
mutationFn: () => desktopBridge!.checkUpdate(),
onSuccess: (status) => {
queryClient.setQueryData(["desktop-update-status"], status);
- setDesktopUpdateChecked(true);
+ setDesktopUpdateChecked(!status.error);
},
});
const desktopUpdateInstallMutation = useMutation({
@@ -435,7 +442,20 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
const desktopUpdateState = desktopUpdateStatusQuery.data?.state ?? "idle";
const desktopAutoUpdateSupported = clientRuntimeQuery.data?.autoUpdateSupported !== false;
const desktopUpdateBusy = desktopUpdateCheckMutation.isPending || desktopUpdateInstallMutation.isPending;
- const desktopUpdateStatus = desktopUpdateInstallMutation.isError || desktopUpdateCheckMutation.isError || desktopUpdateStatusQuery.isError
+ const desktopUpdateDiagnostic = desktopUpdateStatusQuery.data?.error;
+ const updateDiagnosticText = desktopUpdateDiagnostic
+ ? JSON.stringify({ ...desktopUpdateDiagnostic, localTime: new Date(desktopUpdateDiagnostic.at).toLocaleString(i18n.language) }, null, 2)
+ : null;
+ const handleCopyUpdateDiagnostic = async () => {
+ if (!updateDiagnosticText) return;
+ try {
+ const copied = await desktopBridge!.copyText(updateDiagnosticText);
+ setUpdateDiagnosticCopyState(copied ? "copied" : "error");
+ } catch {
+ setUpdateDiagnosticCopyState("error");
+ }
+ };
+ const desktopUpdateStatus = desktopUpdateDiagnostic || desktopUpdateInstallMutation.isError || desktopUpdateCheckMutation.isError || desktopUpdateStatusQuery.isError
? t("systemInfo.desktopUpdateFailed")
: desktopUpdateInstallMutation.isPending
? t("systemInfo.desktopUpdateInstalling")
@@ -451,7 +471,10 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
const handleDesktopUpdate = () => {
if (desktopUpdateState === "downloaded") desktopUpdateInstallMutation.mutate();
- else desktopUpdateCheckMutation.mutate();
+ else {
+ setUpdateDiagnosticCopyState("idle");
+ desktopUpdateCheckMutation.mutate();
+ }
};
return (
@@ -557,7 +580,7 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
<p
className={cn(
"text-right text-xs",
- desktopUpdateInstallMutation.isError || desktopUpdateCheckMutation.isError || desktopUpdateStatusQuery.isError
+ desktopUpdateDiagnostic || desktopUpdateInstallMutation.isError || desktopUpdateCheckMutation.isError || desktopUpdateStatusQuery.isError
? "text-red-600"
: "text-slate-500",
)}
@@ -567,6 +590,26 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
{desktopUpdateStatus}
</p>
) : null}
+ {isClient && desktopAvailable && desktopUpdateDiagnostic && updateDiagnosticText ? (
+ <div className="grid gap-2 rounded-lg border border-red-200 bg-red-50/50 p-3 text-xs" role="alert">
+ <p className="break-words font-medium text-red-700">{desktopUpdateDiagnostic.code && !desktopUpdateDiagnostic.message.includes(desktopUpdateDiagnostic.code) ? `${desktopUpdateDiagnostic.code}: ` : ""}{desktopUpdateDiagnostic.message}</p>
+ <details>
+ <summary className="cursor-pointer">{t("systemInfo.desktopUpdateDiagnosticDetails")}</summary>
+ <p className="my-2 text-slate-600">{t("systemInfo.desktopUpdateDiagnosticHint")}</p>
+ <pre className="max-h-56 select-text overflow-auto whitespace-pre-wrap break-all text-slate-700">{updateDiagnosticText}</pre>
+ </details>
+ <div className="flex flex-wrap items-center gap-2">
+ <Button size="sm" variant="outline" className="h-7 text-xs" onClick={() => void handleCopyUpdateDiagnostic()}>
+ <Copy className="h-3.5 w-3.5" />
+ {updateDiagnosticCopyState === "copied" ? t("systemInfo.desktopUpdateDiagnosticCopied") : t("systemInfo.desktopCopyUpdateDiagnostic")}
+ </Button>
+ {updateDiagnosticCopyState === "error" ? <span role="status">{t("systemInfo.copyFailed")}</span> : null}
+ <a className="underline underline-offset-2" href="https://github.com/tianma-if/edgeever/releases/latest" target="_blank" rel="noreferrer">
+ {t("systemInfo.desktopUpdateManualDownload")}
+ </a>
+ </div>
+ </div>
+ ) : null}
<div className="rounded-lg border border-slate-200/80 bg-card p-3 sm:p-3.5">
<dl className="grid grid-cols-2 gap-x-4 gap-y-2.5 sm:grid-cols-3 sm:gap-x-5">
{group.items.map((item) => (
diff --git a/apps/web/src/vite-env.d.ts b/apps/web/src/vite-env.d.ts
index 7a5b874c..0f62e03b 100644
--- a/apps/web/src/vite-env.d.ts
+++ b/apps/web/src/vite-env.d.ts
@@ -176,9 +176,21 @@ interface EdgeEverDesktopBridge {
}) => void): () => void;
}
+interface DesktopUpdateDiagnostic {
+ at: string;
+ stage: string;
+ version: string;
+ platform: string;
+ arch: string;
+ code: string | null;
+ message: string;
+ source: string;
+}
+
interface DesktopUpdateStatus {
state: "idle" | "available" | "downloaded";
version: string | null;
+ error?: DesktopUpdateDiagnostic | null;
}
type DesktopLocalDataResetErrorCode =
diff --git a/package.json b/package.json
index f00c2d41..756ee678 100644
--- a/package.json
+++ b/package.json
@@ -64,7 +64,7 @@
"publish:stores": "bun scripts/store-delivery.mjs",
"publish:extension": "bun scripts/publish-web-clipper.mjs",
"test:desktop:sidecar": "bun scripts/test-desktop-sidecar.mjs",
- "test:desktop": "bun test apps/desktop/src/main/global-shortcut.test.mjs apps/desktop/src/main/account-scope.test.mjs apps/desktop/src/main/app-protocol.test.mjs apps/desktop/src/main/child-process-start.test.mjs apps/desktop/src/main/clipboard-write.test.mjs apps/desktop/src/main/desktop-diagnostics.test.mjs apps/desktop/src/main/desktop-menu.test.mjs apps/desktop/src/main/desktop-update-flow.test.mjs apps/desktop/src/main/diagnostic-log.test.mjs apps/desktop/src/main/file-association.test.mjs apps/desktop/src/main/wechat-chat-archive.test.mjs apps/desktop/src/main/wechat-share-import.test.mjs apps/desktop/src/main/share-extension-registration.test.mjs apps/desktop/src/main/windows-share-menu.test.mjs apps/desktop/src/main/file-permissions.test.mjs apps/desktop/src/main/installation-location.test.mjs apps/desktop/src/main/local-data-reset.test.mjs apps/desktop/src/main/ai-direct.test.mjs apps/desktop/src/main/plugin-public-network.test.mjs apps/desktop/src/main/renderer-recovery.test.mjs apps/desktop/src/main/renderer-hibernate.test.mjs apps/desktop/src/main/renderer-startup-guard.test.mjs apps/desktop/src/main/renderer-storage-migration.test.mjs apps/desktop/src/main/resource-request.test.mjs apps/desktop/src/main/resource-url.test.mjs apps/desktop/src/main/scheduled-task-scheduler.test.mjs apps/desktop/src/main/screenshot-capture.test.mjs apps/desktop/src/main/staged-resource.test.mjs apps/desktop/src/main/staged-resource-alias.test.mjs apps/desktop/src/main/tray-icon.test.mjs apps/desktop/src/main/user-data-directory.test.mjs apps/desktop/src/main/window-open-policy.test.mjs apps/desktop/src/main/window-visibility.test.mjs apps/desktop/src/main/windows-update-trust.test.mjs apps/web/src/lib/api.test.mjs apps/web/src/lib/app-page-path.test.mjs apps/web/src/lib/clipboard.test.mjs apps/web/src/lib/desktop-renderer-ready.test.mjs apps/web/src/lib/desktop-workspace-restore.test.mjs apps/web/src/lib/desktop-repository.test.mjs apps/web/src/lib/desktop-resources.test.mjs apps/web/src/lib/desktop-acp.test.mjs apps/web/src/lib/desktop-sync.test.mjs apps/web/src/lib/local-mirror.test.mjs apps/web/src/lib/repository.test.mjs apps/web/src/lib/runtime.test.mjs apps/web/src/lib/screenshot-import.test.mjs apps/web/src/lib/wechat-chat-import.test.mjs apps/web/src/lib/shared-file-import.test.mjs apps/web/src/lib/sync-queue.test.mjs && bun test --cwd apps/desktop src/main/acp-adapter-manager.test.mjs src/main/acp-host.test.mjs src/main/workbuddy-auth.test.mjs src/main/antigravity-proxy.test.mjs src/main/acp-mcp-bridge.test.mjs && bun run test:desktop:sidecar",
+ "test:desktop": "bun test apps/desktop/src/main/global-shortcut.test.mjs apps/desktop/src/main/account-scope.test.mjs apps/desktop/src/main/app-protocol.test.mjs apps/desktop/src/main/child-process-start.test.mjs apps/desktop/src/main/clipboard-write.test.mjs apps/desktop/src/main/desktop-diagnostics.test.mjs apps/desktop/src/main/desktop-menu.test.mjs apps/desktop/src/main/desktop-update-flow.test.mjs apps/desktop/src/main/update-diagnostics.test.mjs apps/desktop/src/main/diagnostic-log.test.mjs apps/desktop/src/main/file-association.test.mjs apps/desktop/src/main/wechat-chat-archive.test.mjs apps/desktop/src/main/wechat-share-import.test.mjs apps/desktop/src/main/share-extension-registration.test.mjs apps/desktop/src/main/windows-share-menu.test.mjs apps/desktop/src/main/file-permissions.test.mjs apps/desktop/src/main/installation-location.test.mjs apps/desktop/src/main/local-data-reset.test.mjs apps/desktop/src/main/ai-direct.test.mjs apps/desktop/src/main/plugin-public-network.test.mjs apps/desktop/src/main/renderer-recovery.test.mjs apps/desktop/src/main/renderer-hibernate.test.mjs apps/desktop/src/main/renderer-startup-guard.test.mjs apps/desktop/src/main/renderer-storage-migration.test.mjs apps/desktop/src/main/resource-request.test.mjs apps/desktop/src/main/resource-url.test.mjs apps/desktop/src/main/scheduled-task-scheduler.test.mjs apps/desktop/src/main/screenshot-capture.test.mjs apps/desktop/src/main/staged-resource.test.mjs apps/desktop/src/main/staged-resource-alias.test.mjs apps/desktop/src/main/tray-icon.test.mjs apps/desktop/src/main/user-data-directory.test.mjs apps/desktop/src/main/window-open-policy.test.mjs apps/desktop/src/main/window-visibility.test.mjs apps/desktop/src/main/windows-update-trust.test.mjs apps/web/src/lib/api.test.mjs apps/web/src/lib/app-page-path.test.mjs apps/web/src/lib/clipboard.test.mjs apps/web/src/lib/desktop-renderer-ready.test.mjs apps/web/src/lib/desktop-workspace-restore.test.mjs apps/web/src/lib/desktop-repository.test.mjs apps/web/src/lib/desktop-resources.test.mjs apps/web/src/lib/desktop-acp.test.mjs apps/web/src/lib/desktop-sync.test.mjs apps/web/src/lib/local-mirror.test.mjs apps/web/src/lib/repository.test.mjs apps/web/src/lib/runtime.test.mjs apps/web/src/lib/screenshot-import.test.mjs apps/web/src/lib/wechat-chat-import.test.mjs apps/web/src/lib/shared-file-import.test.mjs apps/web/src/lib/sync-queue.test.mjs && bun test --cwd apps/desktop src/main/acp-adapter-manager.test.mjs src/main/acp-host.test.mjs src/main/workbuddy-auth.test.mjs src/main/antigravity-proxy.test.mjs src/main/acp-mcp-bridge.test.mjs && bun run test:desktop:sidecar",
"verify:desktop-renderer": "bun scripts/verify-desktop-renderer.mjs",
"verify:renderer-origin-migration": "bun run --cwd apps/desktop verify-origin-migration",
"verify:desktop-cross-version-startup": "bun scripts/verify-desktop-cross-version-startup.mjs",
diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.ts
index 7c72e21c..ff3d82af 100644
--- a/packages/shared/src/i18n/en-US.ts
+++ b/packages/shared/src/i18n/en-US.ts
@@ -1677,6 +1677,11 @@ export const enUS = {
desktopUpdateDownload: "Download update",
desktopUpdateRestart: "Restart to Update",
desktopUpdateInstalling: "Restarting to install update…",
+ desktopUpdateDiagnosticDetails: "Diagnostic details",
+ desktopUpdateDiagnosticCopied: "Diagnostics copied",
+ desktopUpdateManualDownload: "Download latest from GitHub",
+ desktopCopyUpdateDiagnostic: "Copy update diagnostics",
+ desktopUpdateDiagnosticHint: "Copy these details when reporting the problem. “at” uses UTC; localTime uses your device’s time zone.",
desktopUpdateFailed: "Update failed. Please try again later.",
},
feedback: {
diff --git a/packages/shared/src/i18n/ja.ts b/packages/shared/src/i18n/ja.ts
index 75105bbe..06b51f1c 100644
--- a/packages/shared/src/i18n/ja.ts
+++ b/packages/shared/src/i18n/ja.ts
@@ -1677,6 +1677,11 @@ export const ja = {
desktopUpdateDownload: "更新をダウンロード",
desktopUpdateRestart: "再起動して更新",
desktopUpdateInstalling: "再起動して更新をインストールしています…",
+ desktopUpdateDiagnosticDetails: "診断の詳細",
+ desktopUpdateDiagnosticCopied: "診断情報をコピーしました",
+ desktopUpdateManualDownload: "GitHub から最新版をダウンロード",
+ desktopCopyUpdateDiagnostic: "更新の診断情報をコピー",
+ desktopUpdateDiagnosticHint: "問題の報告時に以下の情報をコピーしてください。at は UTC、localTime は端末の現地時刻です。",
desktopUpdateFailed: "更新に失敗しました。しばらくしてから再試行してください。",
},
feedback: {
diff --git a/packages/shared/src/i18n/pl.ts b/packages/shared/src/i18n/pl.ts
index 7c32a95b..460d14ae 100644
--- a/packages/shared/src/i18n/pl.ts
+++ b/packages/shared/src/i18n/pl.ts
@@ -1677,6 +1677,11 @@ export const pl = {
desktopUpdateDownload: "Pobierz aktualizację",
desktopUpdateRestart: "Uruchom ponownie, aby zaktualizować",
desktopUpdateInstalling: "Ponowne uruchamianie w celu instalacji aktualizacji…",
+ desktopUpdateDiagnosticDetails: "Szczegóły diagnostyczne",
+ desktopUpdateDiagnosticCopied: "Skopiowano diagnostykę",
+ desktopUpdateManualDownload: "Pobierz najnowszą wersję z GitHub",
+ desktopCopyUpdateDiagnostic: "Kopiuj diagnostykę aktualizacji",
+ desktopUpdateDiagnosticHint: "Zgłaszając problem, skopiuj poniższe informacje. at to czas UTC, a localTime to czas lokalny urządzenia.",
desktopUpdateFailed: "Aktualizacja nie powiodła się. Spróbuj ponownie później.",
},
feedback: {
diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.ts
index 2c21252f..0389b50b 100644
--- a/packages/shared/src/i18n/zh-CN.ts
+++ b/packages/shared/src/i18n/zh-CN.ts
@@ -1677,6 +1677,11 @@ export const zhCN = {
desktopUpdateDownload: "下载更新",
desktopUpdateRestart: "重启以更新",
desktopUpdateInstalling: "正在重启并安装更新…",
+ desktopUpdateDiagnosticDetails: "诊断详情",
+ desktopUpdateDiagnosticCopied: "诊断信息已复制",
+ desktopUpdateManualDownload: "从 GitHub 下载最新版",
+ desktopCopyUpdateDiagnostic: "复制更新诊断信息",
+ desktopUpdateDiagnosticHint: "反馈问题时请复制以下信息。at 为 UTC 时间,localTime 为设备本地时间。",
desktopUpdateFailed: "更新失败,请稍后重试。",
},
feedback: {