mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-20 03:10:57 +00:00
14 lines
300 B
Swift
14 lines
300 B
Swift
import Foundation
|
|
|
|
/// A protocol for retreiving the latest available version of an app.
|
|
public protocol UpdaterProtocol: Observable, Sendable {
|
|
|
|
/// The latest update
|
|
@MainActor var update: Release? { get }
|
|
|
|
var currentVersion: SemVer { get }
|
|
|
|
func ignore(release: Release) async
|
|
}
|
|
|