feature: built-in auto-update (appcast + sha256 + staged install), version 0.2.0

This commit is contained in:
2026-09-02 09:08:42 +04:00
parent 8d66e49e07
commit c01653e9aa
5 changed files with 502 additions and 2 deletions
+9
View File
@@ -74,6 +74,15 @@ struct MenuBarView: View {
private var actionsList: some View {
VStack(alignment: .leading, spacing: 2) {
if let update = model.updateAvailable {
Button {
model.installUpdate()
} label: {
actionLabel("Update to \(update.version)")
.foregroundStyle(Color.accentColor)
}
}
Button {
let anchor = NSApp.keyWindow?.contentView
if let sender = model as? SendCapable {