Ferrite-backup/Ferrite/Models/GithubModels.swift
kingbri 664c57b751 Ferrite: Add updater
Updates are sent via an alert on starting the app. This can be
disabled in the settings menu.

A full version struct has been completed for flexible comparisons.

Version history can also be viewed in settings in case a user wants
to download an earlier version of the app.

Updates track Github releases.

Signed-off-by: kingbri <bdashore3@gmail.com>
2022-08-31 18:47:02 -04:00

18 lines
320 B
Swift

//
// GithubModels.swift
// Ferrite
//
// Created by Brian Dashore on 8/28/22.
//
import Foundation
public struct GithubRelease: Codable, Hashable {
let htmlUrl: String
let tagName: String
enum CodingKeys: String, CodingKey {
case htmlUrl = "html_url"
case tagName = "tag_name"
}
}