2022-01-02 05:46:01 +00:00
|
|
|
import Foundation
|
2023-02-19 01:37:38 +00:00
|
|
|
import Combine
|
2022-01-02 05:46:01 +00:00
|
|
|
|
|
|
|
/// A protocol for retreiving the latest available version of an app.
|
|
|
|
public protocol UpdaterProtocol: ObservableObject {
|
|
|
|
|
|
|
|
/// The latest update
|
|
|
|
var update: Release? { get }
|
|
|
|
/// A boolean describing whether or not the current build of the app is a "test" build (ie, a debug build or otherwise special build)
|
|
|
|
var testBuild: Bool { get }
|
|
|
|
|
|
|
|
}
|
|
|
|
|