fix(recovery): preflight restore items before mutating state

Add validation pass that checks all selected recovery items before any
restore operations begin. This prevents partial in-memory restore success
when a later item fails.

Map helper-backed restore destination conflicts to restore-specific
rejection paths instead of falling back to generic execution-unavailable
messages.

Bump version to 1.0.1 and update CHANGELOG with release notes.
This commit is contained in:
zhukang
2026-03-13 16:40:31 +08:00
parent 1cb9a42c7b
commit 86e6ea1d80
7 changed files with 251 additions and 40 deletions

View File

@@ -100,11 +100,11 @@ final class AtlasAppModel: ObservableObject {
}
var appVersion: String {
Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "1.0.0"
Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "1.0.1"
}
var appBuild: String {
Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "1"
Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "2"
}
func checkForUpdate() async {