AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.
HTML ai-agentcloudflarecloudflare-d1cloudflare-r2cloudflare-workersdockerelectronevernoteevernote-alternativeknowledge-basemcpnote-takingobsidian-alternativeoffline-firstpersonal-knowledge-basepwaself-hostedsqlitetiptapweb-clipper
fix(desktop): restore one-click Windows installer
tianma-if9049a1e552ae
diff --git a/apps/desktop/electron-builder.yml b/apps/desktop/electron-builder.ymlindex d04a1a56..89383557 100644--- a/apps/desktop/electron-builder.yml+++ b/apps/desktop/electron-builder.yml@@ -70,8 +70,7 @@ win:- nsisartifactName: EdgeEver-${version}-windows-${arch}.${ext}nsis:- oneClick: false- allowToChangeInstallationDirectory: true+ oneClick: trueperMachine: falselinux:category: Utilitydiff --git a/apps/desktop/src/main/index.mjs b/apps/desktop/src/main/index.mjsindex 22590010..7326c883 100644--- a/apps/desktop/src/main/index.mjs+++ b/apps/desktop/src/main/index.mjs@@ -741,8 +741,7 @@ const installDownloadedUpdate = () => {// The normal window close handler hides the app. Mark this as a real quit// before electron-updater closes windows so installation can proceed.isQuitting = true;- // Fresh Windows installs use an assisted installer, while updates must stay- // silent and preserve the installation directory selected by the user.+ // Keep Windows updates silent and reuse the registered installation directory.autoUpdater.quitAndInstall(process.platform === "win32", true);return { started: true };};diff --git a/scripts/desktop-build-workflow.test.mjs b/scripts/desktop-build-workflow.test.mjsindex 496c875b..f6d20598 100644--- a/scripts/desktop-build-workflow.test.mjs+++ b/scripts/desktop-build-workflow.test.mjs@@ -95,10 +95,10 @@ describe("desktop release workflow", () => {expect(cargoConfig).toContain('target-feature=+crt-static');expect(desktopBuilderConfig).toContain(["nsis:",- " oneClick: false",- " allowToChangeInstallationDirectory: true",+ " oneClick: true"," perMachine: false",].join("\n"));+ expect(desktopBuilderConfig).not.toContain("allowToChangeInstallationDirectory");expect(desktopPackageVerifier).toContain('path.replaceAll("\\\\", "/")',);