Compare commits

...
4 changed files with 21 additions and 22 deletions
+17 -19
View File
@@ -789,25 +789,23 @@ struct SettingsView: View {
.padding(.vertical, 1) .padding(.vertical, 1)
.background(Color.primary.opacity(0.06)) .background(Color.primary.opacity(0.06))
.cornerRadius(4) .cornerRadius(4)
if updater.updateAvailable { }
Text("v\(updater.latestVersion) available") if updater.updateAvailable {
.font(.system(size: 10, weight: .medium)) Text("v\(updater.latestVersion) available")
.foregroundColor(.white) .font(.system(size: 10, weight: .medium))
.padding(.horizontal, 6) .foregroundColor(.white)
.padding(.vertical, 2) .padding(.horizontal, 6)
.background(Color.blue) .padding(.vertical, 2)
.cornerRadius(4) .background(Color.blue)
.fixedSize() .cornerRadius(4)
} else if updater.betaAvailable { } else if updater.betaAvailable {
Text("v\(updater.latestBetaVersion) available") Text("v\(updater.latestBetaVersion) available")
.font(.system(size: 10, weight: .medium)) .font(.system(size: 10, weight: .medium))
.foregroundColor(.white) .foregroundColor(.white)
.padding(.horizontal, 6) .padding(.horizontal, 6)
.padding(.vertical, 2) .padding(.vertical, 2)
.background(Color.orange) .background(Color.orange)
.cornerRadius(4) .cornerRadius(4)
.fixedSize()
}
} }
Text("Built by superdooper86 & claude") Text("Built by superdooper86 & claude")
.font(.system(size: 11)) .font(.system(size: 11))
+1 -1
View File
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.1.2-beta.2</string> <string>1.1.2-beta.5</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>35</string> <string>35</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
+1
View File
@@ -319,6 +319,7 @@ class UpdateManager: ObservableObject {
private func isNewer(_ version: String, than current: String) -> Bool { private func isNewer(_ version: String, than current: String) -> Bool {
func parse(_ v: String) -> (base: [Int], pre: [Int]?) { func parse(_ v: String) -> (base: [Int], pre: [Int]?) {
guard !v.isEmpty else { return ([], nil) }
let halves = v.split(separator: "-", maxSplits: 1) let halves = v.split(separator: "-", maxSplits: 1)
let base = halves[0].split(separator: ".").compactMap { Int($0) } let base = halves[0].split(separator: ".").compactMap { Int($0) }
let pre = halves.count > 1 ? String(halves[1]).split(separator: ".").compactMap { Int($0) } : nil let pre = halves.count > 1 ? String(halves[1]).split(separator: ".").compactMap { Int($0) } : nil
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"version": "1.1.2-beta.1", "version": "1.1.2-beta.4",
"url": "https://github.com/superdooper86/claudechecker/releases/download/v1.1.2-beta.1/ClaudeChecker.zip", "url": "https://github.com/superdooper86/claudechecker/releases/download/v1.1.2-beta.4/ClaudeChecker.zip",
"notes": "## What's new in v1.1.2\n\n### Cleaner card headers\nRemoved the redundant \"5h\" / \"7d\" window labels from each card row — the section headers already make it clear which limit is which." "notes": "## What's new in v1.1.2\n\n### Cleaner card headers\nRemoved the redundant \"5h\" / \"7d\" window labels from each card row — the section headers already make it clear which limit is which."
} }