Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

Merge branch 'reliability-fixes'

Yashwanth Kamireddic3f482a8ba5d
diff --cc Cargo.lock
index 3e8dbb6,337cffa..bd928e4
--- a/Cargo.lock
+++ b/Cargo.lock
@@@ -3971,7 -3871,7 +3971,8 @@@ dependencies =
"quince-media",
"quince-vfs",
"reqwest 0.12.28",
+ "rfd",
+ "semver",
"serde",
"serde_json",
"sha2",
diff --cc README.md
index dcbd8f6,3c28967..ef11f7c
--- a/README.md
+++ b/README.md
@@@ -143,8 -131,8 +143,10 @@@ paru -S skykeep-git # or: yay -S sky
chmod +x Skykeep_*_amd64.AppImage && ./Skykeep_*_amd64.AppImage
```
+**Staying up to date.** The Windows installer and the AppImage keep Skykeep current themselves: a new version appears as a notice, with **Update and Restart**, and installs only after it passes its signature check, once your changes have reached iCloud. The `.deb`, `.rpm`, AUR and Flatpak update through your package manager. **Settings ▸ Software Update** has **Check for Updates** and the daily automatic check.
+
+ On a system without FUSE 2 (`libfuse2`, left out of Ubuntu 24.04 by default), the AppImage runs as `./Skykeep_*_amd64.AppImage --appimage-extract-and-run`.
+
<details>
<summary><b>Other ways to install</b></summary>
diff --cc src-tauri/src/main.rs
index 78d98cc,28e1203..a92cc6d
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@@ -6093,8 -6069,18 +6251,19 @@@ fn main()
});
// The local library. Opened once at startup so every command shares one
// connection and the WAL behaves.
- let mut library = Library::open(&dir)?;
+ let opened = match Library::open_or_recover(&dir) {
+ Ok(opened) => opened,
+ Err(e) => cannot_start(&dir, &library_problem(&e)),
+ };
+ if let Some(aside) = &opened.set_aside {
+ quiet!(
+ "the library was damaged: set aside at {} and made again ({} rows kept)",
+ aside.display(),
+ opened.salvaged
+ );
+ }
+ let mut library = opened.library;
+ keep_private(&dir);
timing::mark("library open");
adopt_writer(&mut library);
app.manage(Data(library_lock::LibraryLock::new(
diff --cc src/screens/SettingsView.tsx
index 8b5cf07,3634aac..4c26c20
--- a/src/screens/SettingsView.tsx
+++ b/src/screens/SettingsView.tsx
@@@ -24,10 -24,9 +24,10 @@@ import
settingsApi,
} from "../lib/ipc";
import { freshness, useSync } from "../lib/sync";
+import { useUpdateStatus } from "../lib/updates";
import { setTheme, storedTheme, type Theme } from "../lib/theme";
import { AppIcon } from "../components/AppIcon";
- import { AccountAvatar } from "../components/Account";
+ import { AccountAvatar, NOT_KEPT, useNotKept } from "../components/Account";
import { Picker } from "../components/Picker";
import { localeFirstDay, setWeekStart, weekStartChoice, type WeekStartChoice } from "./calendar/model";