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
+2 -2
View File
@@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.3-beta.5</string>
<string>1.3.3</string>
<key>CFBundleVersion</key>
<string>81</string>
<string>82</string>
<key>LSMinimumSystemVersion</key>
<string>13.0</string>
<key>LSUIElement</key>
+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)")