Compare commits
10
Commits
v1.1.2-beta.3
...
v1.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3dabc7843 | ||
|
|
987bd36137 | ||
|
|
cfcb74f32b | ||
|
|
273e10566e | ||
|
|
76a8f433a7 | ||
|
|
65a171f296 | ||
|
|
26312290ac | ||
|
|
63cbd70f38 | ||
|
|
235ab81efb | ||
|
|
12d7855ceb |
@@ -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))
|
||||||
|
|||||||
@@ -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.3</string>
|
<string>1.1.2</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>35</string>
|
<string>35</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
|||||||
@@ -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
@@ -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
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "1.1.2-beta.2",
|
"version": "1.1.2-beta.7",
|
||||||
"url": "https://github.com/superdooper86/claudechecker/releases/download/v1.1.2-beta.2/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."
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user