Compare commits

..
12 Commits
5 changed files with 32 additions and 24 deletions
+1 -3
View File
@@ -789,6 +789,7 @@ 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 { if updater.updateAvailable {
Text("v\(updater.latestVersion) available") Text("v\(updater.latestVersion) available")
.font(.system(size: 10, weight: .medium)) .font(.system(size: 10, weight: .medium))
@@ -797,7 +798,6 @@ struct SettingsView: View {
.padding(.vertical, 2) .padding(.vertical, 2)
.background(Color.blue) .background(Color.blue)
.cornerRadius(4) .cornerRadius(4)
.fixedSize()
} 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))
@@ -806,8 +806,6 @@ struct SettingsView: View {
.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</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
+11 -2
View File
@@ -1,4 +1,13 @@
## What's new in v1.1.2 ## What's new in v1.1.2
### Cleaner card headers ### Cleaner usage cards
Removed the redundant "5h" / "7d" window labels from each card row — the section headers already make it clear which limit is which. Removed the redundant "5h" / "7d" labels from each card row — the section headers already make it clear which limit is which.
### Beta update support
The app now correctly detects and compares beta versions (e.g. v1.1.2-beta.2 > v1.1.2-beta.1) when the beta channel is enabled in Settings. Stable releases also correctly supersede beta builds of the same version — so users on a beta are prompted to install the final release.
### Fixed crash when enabling beta channel
Enabling the beta toggle could crash the app if no stable update was available. This is now fixed.
### Fixed settings panel truncation
The app name and version number no longer get cut off when an update badge is displayed in Settings.
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"version": "1.1.2-beta.1", "version": "1.1.2-beta.7",
"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.7/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."
} }