Skip to content

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

feat: show desktop update download progress

tianma-if068235614b26
diff --git a/apps/desktop/src/main/index.mjs b/apps/desktop/src/main/index.mjs
index 1409e6ce..fddb5916 100644
--- a/apps/desktop/src/main/index.mjs
+++ b/apps/desktop/src/main/index.mjs
@@ -49,6 +49,8 @@ import {
} from "./windows-update-trust.mjs";
import electronUpdater from "electron-updater";
import { createUpdateDiagnostic } from "./update-diagnostics.mjs";
+import { normalizeUpdateProgress } from "./update-progress.mjs";
+import { inspectWindowsTaskbarShortcuts } from "./windows-taskbar-diagnostics.mjs";
import { createPluginPublicNetworkRuntime } from "./plugin-public-network.mjs";
import { createAiDirectRuntime } from "./ai-direct.mjs";
import { createAcpHostRuntime, registerAcpIpc } from "./acp-host.mjs";
@@ -127,6 +129,7 @@ let tray;
let isQuitting = false;
let updateState = "idle";
let updateError = null;
+let updateProgress = null;
let updateCheckInFlight = null;
let updateDownloadInFlight = null;
let updateCheckTimer = null;
@@ -1094,6 +1097,7 @@ const desktopUpdateStatus = () => ({
state: updateState,
version: downloadedUpdateVersion,
error: updateError,
+ progress: updateProgress,
});
const recordUpdateError = (error, stage) => {
@@ -1124,6 +1128,7 @@ const trackDesktopUpdateDownload = (downloadPromise, reason) => {
updateDownloadInFlight = Promise.resolve(downloadPromise)
.catch(async (error) => {
updateState = "idle";
+ updateProgress = null;
downloadedUpdateVersion = null;
windowsDownloadedUpdateVerified = false;
refreshTrayMenu();
@@ -1209,6 +1214,7 @@ const checkForDesktopUpdate = (reason, { force = false, throwOnError = false } =
})
.catch(async (error) => {
updateState = "idle";
+ updateProgress = null;
downloadedUpdateVersion = null;
trustedWindowsUpdate = null;
windowsDownloadedUpdateVerified = false;
@@ -1240,6 +1246,7 @@ const configureAutoUpdater = () => {
autoUpdater.autoRunAppAfterInstall = true;
autoUpdater.on("update-available", (info) => {
updateState = "available";
+ updateProgress = null;
downloadedUpdateVersion = info?.version || null;
if (process.platform === "win32") {
trustedWindowsUpdate = null;
@@ -1251,6 +1258,7 @@ const configureAutoUpdater = () => {
});
autoUpdater.on("update-not-available", () => {
updateState = "idle";
+ updateProgress = null;
downloadedUpdateVersion = null;
trustedWindowsUpdate = null;
windowsDownloadedUpdateVerified = false;
@@ -1261,7 +1269,11 @@ const configureAutoUpdater = () => {
void diagnosticWritten.finally(() => setTimeout(() => app.quit(), 100));
}
});
- autoUpdater.on("download-progress", (progress) => { void writeDiagnostic("update.download-progress", { percent: progress.percent }); });
+ autoUpdater.on("download-progress", (progress) => {
+ updateProgress = normalizeUpdateProgress(progress);
+ publishDesktopUpdateStatus();
+ void writeDiagnostic("update.download-progress", { percent: progress.percent });
+ });
autoUpdater.on("update-downloaded", (info) => {
void (async () => {
if (process.platform === "win32") {
@@ -1276,6 +1288,7 @@ const configureAutoUpdater = () => {
autoUpdater.autoInstallOnAppQuit = true;
}
updateState = "downloaded";
+ updateProgress = null;
updateError = null;
downloadedUpdateVersion = info?.version || downloadedUpdateVersion;
refreshTrayMenu();
@@ -1296,6 +1309,7 @@ const configureAutoUpdater = () => {
}
autoUpdater.autoInstallOnAppQuit = false;
updateState = "idle";
+ updateProgress = null;
downloadedUpdateVersion = null;
windowsDownloadedUpdateVerified = false;
refreshTrayMenu();
@@ -1308,6 +1322,7 @@ const configureAutoUpdater = () => {
isQuitting = false;
if (updateState !== "downloaded") {
updateState = "idle";
+ updateProgress = null;
downloadedUpdateVersion = null;
windowsDownloadedUpdateVerified = false;
}
@@ -1616,6 +1631,13 @@ const startApplication = async () => {
app.setAsDefaultProtocolClient("edgeever");
recoveredAfterAbnormalExit = existsSync(crashMarkerPath());
void writeDiagnostic(recoveredAfterAbnormalExit ? "session.recovered-after-abnormal-exit" : "session.started");
+ void inspectWindowsTaskbarShortcuts({
+ platform: process.platform, packaged: app.isPackaged,
+ appData: app.getPath("appData"), executable: app.getPath("exe"),
+ readdir, readShortcutLink: (path) => shell.readShortcutLink(path), existsSync,
+ }).then((result) => {
+ if (result) return writeDiagnostic("windows.taskbar-shortcuts", result);
+ }).catch((error) => { void writeDiagnostic("windows.taskbar-shortcuts-unavailable", { message: error.message }); });
await writeFile(crashMarkerPath(), new Date().toISOString());
session.defaultSession.setPermissionRequestHandler((_webContents, _permission, callback) => callback(false));
registerDesktopAppProtocol();
diff --git a/apps/desktop/src/main/update-progress.mjs b/apps/desktop/src/main/update-progress.mjs
new file mode 100644
index 00000000..19d39c42
--- /dev/null
+++ b/apps/desktop/src/main/update-progress.mjs
@@ -0,0 +1,14 @@
+const nonNegative = (value) => typeof value === "number" && Number.isFinite(value) && value >= 0 ? value : null;
+
+export const normalizeUpdateProgress = (progress = {}) => {
+ const total = nonNegative(progress.total);
+ const transferred = nonNegative(progress.transferred);
+ const percent = nonNegative(progress.percent)
+ ?? (total > 0 && transferred !== null ? transferred / total * 100 : null);
+ return {
+ percent: percent === null ? null : Math.min(100, percent),
+ transferred: transferred === null ? null : total > 0 ? Math.min(total, transferred) : transferred,
+ total: total > 0 ? total : null,
+ bytesPerSecond: nonNegative(progress.bytesPerSecond),
+ };
+};
diff --git a/apps/desktop/src/main/update-progress.test.mjs b/apps/desktop/src/main/update-progress.test.mjs
new file mode 100644
index 00000000..963f9f15
--- /dev/null
+++ b/apps/desktop/src/main/update-progress.test.mjs
@@ -0,0 +1,19 @@
+import { expect, test } from "bun:test";
+import { normalizeUpdateProgress } from "./update-progress.mjs";
+
+test("preserves real updater progress, size and speed", () => {
+ expect(normalizeUpdateProgress({ percent: 42.5, transferred: 425, total: 1000, bytesPerSecond: 200 }))
+ .toEqual({ percent: 42.5, transferred: 425, total: 1000, bytesPerSecond: 200 });
+});
+
+test("uses transferred bytes when percentage is unavailable and clamps completion", () => {
+ expect(normalizeUpdateProgress({ transferred: 500, total: 1000 }).percent).toBe(50);
+ expect(normalizeUpdateProgress({ percent: 105, transferred: 1100, total: 1000 }))
+ .toMatchObject({ percent: 100, transferred: 1000 });
+});
+
+test("unknown and malformed progress stays indeterminate rather than showing false completion", () => {
+ expect(normalizeUpdateProgress({ percent: NaN, transferred: -1, total: 0, bytesPerSecond: Infinity }))
+ .toEqual({ percent: null, transferred: null, total: null, bytesPerSecond: null });
+ expect(normalizeUpdateProgress()).toMatchObject({ percent: null, total: null });
+});
diff --git a/apps/desktop/src/main/windows-taskbar-diagnostics.mjs b/apps/desktop/src/main/windows-taskbar-diagnostics.mjs
new file mode 100644
index 00000000..91e2a216
--- /dev/null
+++ b/apps/desktop/src/main/windows-taskbar-diagnostics.mjs
@@ -0,0 +1,30 @@
+import { join, win32 } from "node:path";
+
+// Inspect existing EdgeEver pins; never create, repin, or overwrite user shortcuts.
+export const inspectWindowsTaskbarShortcuts = async ({
+ platform, packaged, appData, executable, readdir, readShortcutLink, existsSync,
+}) => {
+ if (platform !== "win32" || !packaged) return null;
+ const directory = join(appData, "Microsoft", "Internet Explorer", "Quick Launch", "User Pinned", "TaskBar");
+ let filenames;
+ try { filenames = await readdir(directory); }
+ catch (error) {
+ return { executable, state: error.code === "ENOENT" ? "no-pins-directory" : "unavailable", code: error.code || null, shortcuts: [] };
+ }
+ const shortcuts = [];
+ for (const filename of filenames.filter((name) => /^edgeever\.lnk$/i.test(name))) {
+ try {
+ const shortcut = readShortcutLink(join(directory, filename));
+ shortcuts.push({
+ name: filename,
+ target: shortcut.target,
+ targetExists: existsSync(shortcut.target),
+ matchesExecutable: win32.normalize(shortcut.target).toLowerCase() === win32.normalize(executable).toLowerCase(),
+ appUserModelId: shortcut.appUserModelId || null,
+ });
+ } catch (error) {
+ shortcuts.push({ name: filename, state: "unreadable", code: error.code || null });
+ }
+ }
+ return { executable, state: "inspected", shortcuts };
+};
diff --git a/apps/desktop/src/main/windows-taskbar-diagnostics.test.mjs b/apps/desktop/src/main/windows-taskbar-diagnostics.test.mjs
new file mode 100644
index 00000000..ba44da33
--- /dev/null
+++ b/apps/desktop/src/main/windows-taskbar-diagnostics.test.mjs
@@ -0,0 +1,29 @@
+import { expect, test } from "bun:test";
+import { inspectWindowsTaskbarShortcuts } from "./windows-taskbar-diagnostics.mjs";
+
+const dependencies = {
+ platform: "win32", packaged: true, appData: "C:\\Users\\Example\\AppData\\Roaming",
+ executable: "C:\\Programs\\EdgeEver\\EdgeEver.exe",
+ readdir: async () => ["EdgeEver.lnk", "Other App.lnk"],
+ readShortcutLink: () => ({ target: "C:\\OldInstall\\EdgeEver.exe", appUserModelId: "org.edgeever.desktop" }),
+ existsSync: () => false,
+};
+
+test("identifies stale EdgeEver shortcut targets without reading other applications", async () => {
+ const result = await inspectWindowsTaskbarShortcuts(dependencies);
+ expect(result.shortcuts).toHaveLength(1);
+ expect(result.shortcuts[0]).toMatchObject({ targetExists: false, matchesExecutable: false, target: "C:\\OldInstall\\EdgeEver.exe" });
+});
+
+test("treats Windows executable path casing as equivalent", async () => {
+ const result = await inspectWindowsTaskbarShortcuts({ ...dependencies,
+ readShortcutLink: () => ({ target: "c:\\programs\\edgeever\\edgeever.exe" }), existsSync: () => true,
+ });
+ expect(result.shortcuts[0]).toMatchObject({ targetExists: true, matchesExecutable: true });
+});
+
+test("missing pins and unsupported platforms do not interrupt startup", async () => {
+ expect(await inspectWindowsTaskbarShortcuts({ ...dependencies, platform: "darwin" })).toBeNull();
+ const result = await inspectWindowsTaskbarShortcuts({ ...dependencies, readdir: async () => { throw Object.assign(new Error(), { code: "ENOENT" }); } });
+ expect(result.state).toBe("no-pins-directory");
+});
diff --git a/apps/web/src/components/DesktopUpdateProgress.tsx b/apps/web/src/components/DesktopUpdateProgress.tsx
new file mode 100644
index 00000000..f6f9aada
--- /dev/null
+++ b/apps/web/src/components/DesktopUpdateProgress.tsx
@@ -0,0 +1,34 @@
+import { useTranslation } from "react-i18next";
+
+const byteSize = (bytes: number, language: string) => {
+ const units = ["B", "KB", "MB", "GB"];
+ const index = bytes > 0 ? Math.max(0, Math.min(units.length - 1, Math.floor(Math.log(bytes) / Math.log(1024)))) : 0;
+ return `${new Intl.NumberFormat(language, { maximumFractionDigits: index > 0 ? 1 : 0 }).format(bytes / 1024 ** index)} ${units[index]}`;
+};
+
+export const DesktopUpdateProgress = ({ progress }: { progress?: DesktopUpdateDownloadProgress | null }) => {
+ const { t, i18n } = useTranslation();
+ const verifying = progress?.percent === 100;
+ const label = t(verifying ? "systemInfo.desktopUpdateVerifying" : "systemInfo.desktopUpdateDownloading");
+ const percent = progress?.percent == null ? null : new Intl.NumberFormat(i18n.language, { maximumFractionDigits: 1 }).format(progress.percent);
+ return (
+ <div className="grid gap-1.5 rounded-lg border border-slate-200 bg-slate-50 px-3 py-2">
+ <div className="flex items-center justify-between gap-2 text-xs text-slate-700">
+ <span>{label}</span>
+ {percent !== null ? <span className="tabular-nums">{percent}%</span> : null}
+ </div>
+ <progress
+ aria-label={label}
+ className="h-2 w-full overflow-hidden rounded-full accent-[#16A06E] [&::-moz-progress-bar]:bg-[#16A06E] [&::-webkit-progress-bar]:bg-slate-200 [&::-webkit-progress-value]:bg-[#16A06E]"
+ max={100}
+ value={progress?.percent ?? undefined}
+ />
+ {!verifying && progress ? (
+ <div className="flex flex-wrap justify-between gap-1 text-xs tabular-nums text-slate-500">
+ {progress.transferred !== null ? <span>{byteSize(progress.transferred, i18n.language)}{progress.total !== null ? ` / ${byteSize(progress.total, i18n.language)}` : ""}</span> : null}
+ {progress.bytesPerSecond !== null ? <span>{byteSize(progress.bytesPerSecond, i18n.language)}/s</span> : null}
+ </div>
+ ) : null}
+ </div>
+ );
+};
diff --git a/apps/web/src/components/settings/SystemInfoPanel.tsx b/apps/web/src/components/settings/SystemInfoPanel.tsx
index ce13a158..9daacb24 100644
--- a/apps/web/src/components/settings/SystemInfoPanel.tsx
+++ b/apps/web/src/components/settings/SystemInfoPanel.tsx
@@ -21,6 +21,7 @@ import {
} from "@/lib/system-diagnostics";
import { formatSystemInfoClipboard } from "@/lib/system-info-clipboard";
import { cn } from "@/lib/utils";
+import { DesktopUpdateProgress } from "@/components/DesktopUpdateProgress";
import { getReleaseTagForVersion, isClientAheadOfInstance } from "@/lib/version-check";
export type SystemInfoItem = {
@@ -441,6 +442,8 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
);
const desktopUpdateState = desktopUpdateStatusQuery.data?.state ?? "idle";
const desktopAutoUpdateSupported = clientRuntimeQuery.data?.autoUpdateSupported !== false;
+ const desktopUpdateDownloadLabel = t(desktopUpdateStatusQuery.data?.progress?.percent === 100
+ ? "systemInfo.desktopUpdateVerifying" : "systemInfo.desktopUpdateDownloading");
const desktopUpdateBusy = desktopUpdateCheckMutation.isPending || desktopUpdateInstallMutation.isPending;
const desktopUpdateDiagnostic = desktopUpdateStatusQuery.data?.error;
const updateDiagnosticText = desktopUpdateDiagnostic
@@ -462,7 +465,7 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
: desktopUpdateCheckMutation.isPending
? t("systemInfo.desktopUpdateChecking")
: desktopUpdateState === "available"
- ? t("systemInfo.desktopUpdateDownloading")
+ ? desktopUpdateDownloadLabel
: desktopUpdateState === "downloaded"
? t("systemInfo.desktopUpdateReady")
: desktopUpdateChecked
@@ -541,7 +544,7 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
{desktopUpdateState === "downloaded"
? t("systemInfo.desktopUpdateRestart")
: desktopUpdateState === "available"
- ? t("systemInfo.desktopUpdateDownloading")
+ ? desktopUpdateDownloadLabel
: desktopUpdateCheckMutation.isPending
? t("systemInfo.desktopUpdateChecking")
: t("systemInfo.desktopCheckForUpdates")}
@@ -576,7 +579,7 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
</a>
</div>
) : null}
- {isClient && desktopAvailable && desktopAutoUpdateSupported && desktopUpdateStatus ? (
+ {isClient && desktopAvailable && desktopAutoUpdateSupported && desktopUpdateStatus && desktopUpdateState !== "available" ? (
<p
className={cn(
"text-right text-xs",
@@ -590,6 +593,9 @@ export const SystemInfoPanel = ({ active = true }: { active?: boolean }) => {
{desktopUpdateStatus}
</p>
) : null}
+ {isClient && desktopAvailable && desktopUpdateState === "available" && !desktopUpdateDiagnostic ? (
+ <DesktopUpdateProgress progress={desktopUpdateStatusQuery.data?.progress} />
+ ) : 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>
diff --git a/apps/web/src/vite-env.d.ts b/apps/web/src/vite-env.d.ts
index 0f62e03b..3704ebf9 100644
--- a/apps/web/src/vite-env.d.ts
+++ b/apps/web/src/vite-env.d.ts
@@ -187,10 +187,18 @@ interface DesktopUpdateDiagnostic {
source: string;
}
+interface DesktopUpdateDownloadProgress {
+ percent: number | null;
+ transferred: number | null;
+ total: number | null;
+ bytesPerSecond: number | null;
+}
+
interface DesktopUpdateStatus {
state: "idle" | "available" | "downloaded";
version: string | null;
error?: DesktopUpdateDiagnostic | null;
+ progress?: DesktopUpdateDownloadProgress | null;
}
type DesktopLocalDataResetErrorCode =
diff --git a/package.json b/package.json
index 756ee678..e18b7b73 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/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",
+ "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/update-progress.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/desktop/src/main/windows-taskbar-diagnostics.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 ff3d82af..0c931363 100644
--- a/packages/shared/src/i18n/en-US.ts
+++ b/packages/shared/src/i18n/en-US.ts
@@ -1672,6 +1672,7 @@ export const enUS = {
desktopDownloadLatest: "Download latest AppImage",
desktopUpdateChecking: "Checking for updates…",
desktopUpdateCurrent: "You're up to date.",
+ desktopUpdateVerifying: "Verifying update…",
desktopUpdateDownloading: "Downloading update…",
desktopUpdateReady: "Update downloaded",
desktopUpdateDownload: "Download update",
diff --git a/packages/shared/src/i18n/ja.ts b/packages/shared/src/i18n/ja.ts
index 06b51f1c..5094bdfa 100644
--- a/packages/shared/src/i18n/ja.ts
+++ b/packages/shared/src/i18n/ja.ts
@@ -1672,6 +1672,7 @@ export const ja = {
desktopDownloadLatest: "最新の AppImage をダウンロード",
desktopUpdateChecking: "更新を確認しています…",
desktopUpdateCurrent: "最新です。",
+ desktopUpdateVerifying: "更新パッケージを検証しています…",
desktopUpdateDownloading: "更新をダウンロードしています…",
desktopUpdateReady: "更新をダウンロード済み",
desktopUpdateDownload: "更新をダウンロード",
diff --git a/packages/shared/src/i18n/pl.ts b/packages/shared/src/i18n/pl.ts
index 460d14ae..dbf8b521 100644
--- a/packages/shared/src/i18n/pl.ts
+++ b/packages/shared/src/i18n/pl.ts
@@ -1672,6 +1672,7 @@ export const pl = {
desktopDownloadLatest: "Pobierz najnowszy AppImage",
desktopUpdateChecking: "Sprawdzanie aktualizacji…",
desktopUpdateCurrent: "Masz najnowszą wersję.",
+ desktopUpdateVerifying: "Weryfikowanie aktualizacji…",
desktopUpdateDownloading: "Pobieranie aktualizacji…",
desktopUpdateReady: "Pobrano aktualizację",
desktopUpdateDownload: "Pobierz aktualizację",
diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.ts
index 0389b50b..e62e0602 100644
--- a/packages/shared/src/i18n/zh-CN.ts
+++ b/packages/shared/src/i18n/zh-CN.ts
@@ -1672,6 +1672,7 @@ export const zhCN = {
desktopDownloadLatest: "下载最新 AppImage",
desktopUpdateChecking: "正在检查更新…",
desktopUpdateCurrent: "当前已是最新版本。",
+ desktopUpdateVerifying: "正在校验安装包…",
desktopUpdateDownloading: "正在下载更新…",
desktopUpdateReady: "更新已下载完成",
desktopUpdateDownload: "下载更新",