Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(desktop): remove update check failure download prompt

Richie McIlroycbdf4d37cfe9
diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
index 4ef71bd09..13784370b 100644
--- a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
@@ -1568,13 +1568,6 @@ function createUpdateCheck() {
if (result) update = result;
} catch (e) {
console.error("Failed to check for updates:", e);
- const openDownload = await dialog
- .confirm(
- "Couldn't check for updates automatically. You can download the latest version of Cap from cap.so/download \u2014 your data won't be lost.",
- { title: "Update Cap", okLabel: "Download", cancelLabel: "Later" },
- )
- .catch(() => false);
- if (openDownload) await shell.open("https://cap.so/download");
return;
}