Move ClaudeChecker builds and updates to Gitea
Build / macos (push) Failing after 14s
Build / windows (push) Successful in 37s

This commit is contained in:
2026-09-10 08:59:09 +02:00
parent e24d9cfb4a
commit 8cb6602b59
39 changed files with 3246 additions and 211 deletions
+3 -3
View File
@@ -30,8 +30,8 @@ enum UpdateError: LocalizedError {
@MainActor
class UpdateManager: ObservableObject {
static let versionURL = "https://raw.githubusercontent.com/superdooper86/claudechecker/refs/heads/main/version.json"
static let betaVersionURL = "https://raw.githubusercontent.com/superdooper86/claudechecker/refs/heads/main/version-beta.json"
static let versionURL = "https://git.jamesbone.net/coder/claudechecker/raw/branch/main/version.json"
static let betaVersionURL = "https://git.jamesbone.net/coder/claudechecker/raw/branch/main/version-beta.json"
@Published var updateAvailable = false
@Published var latestVersion = ""
@@ -118,7 +118,7 @@ class UpdateManager: ObservableObject {
}
private func fetchVersion(from urlString: String) async -> VersionInfo? {
// Add timestamp to bust GitHub's 5-minute CDN cache
// Add timestamp to bust cached update metadata
let cacheBusted = urlString + "?t=\(Int(Date().timeIntervalSince1970))"
guard let url = URL(string: cacheBusted) else {
print("[UpdateManager] Invalid URL: \(urlString)")