Update for Big Sur & SwiftUI 2 (#128)

This commit is contained in:
Max Goedjen
2020-09-21 23:12:50 -07:00
committed by GitHub
parent 4cc312d4fa
commit 331e4ed0d6
39 changed files with 1021 additions and 701 deletions

View File

@@ -11,9 +11,9 @@ class PreviewUpdater: UpdaterProtocol {
case .none:
self.update = nil
case .advisory:
self.update = Release(name: "10.10.10", html_url: URL(string: "https://example.com")!, body: "Some regular update")
self.update = Release(name: "10.10.10", prerelease: false, html_url: URL(string: "https://example.com")!, body: "Some regular update")
case .critical:
self.update = Release(name: "10.10.10", html_url: URL(string: "https://example.com")!, body: "Critical Security Update")
self.update = Release(name: "10.10.10", prerelease: false, html_url: URL(string: "https://example.com")!, body: "Critical Security Update")
}
}