Skip to content

Commit

Permalink
Release 3.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zenangst committed May 20, 2024
1 parent 7c3301a commit 567ecbf
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .tuist-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.2.3
4.13.0
60 changes: 43 additions & 17 deletions App/Sources/UI/Releases/Release3_24_0.swift
Original file line number Diff line number Diff line change
Expand Up @@ -198,24 +198,25 @@ struct Release3_24_0: View {

Divider()

HStack(spacing: 4) {
Text("Special thanks to")
AsyncImage.init(url: URL(string: "https://avatars.githubusercontent.com/u/4262050?v=4")) { image in
image
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 24, height: 24)
.mask { Circle() }
} placeholder: {
Circle()
.fill(Color(.controlAccentColor))
.frame(width: 24, height: 24)
.overlay {
ProgressView()
}
FlowLayout(itemSpacing: 8) {
Group {
Text("Special thanks to")
SponsorView(
imageUrl: URL(string: "https://avatars.githubusercontent.com/u/4044886?v=4")!,
githubHandle: "uwe-schwarz")
SponsorView(
imageUrl: URL(string: "https://avatars.githubusercontent.com/u/4262050?v=4"),
githubHandle: "bjrmatos")
SponsorView(
imageUrl: URL(string: "https://avatars.githubusercontent.com/u/2284279?v=4"),
githubHandle: "onmyway133")
Text("and")
SponsorView(
imageUrl: URL(string: "https://avatars.githubusercontent.com/u/1260095?v=4"),
githubHandle: "andreasoverland")
Text("for supporting the project ❤️")
}
Link("@bjrmatos", destination: URL(string: "https://github.com/bjrmatos")!)
Text("for supporting the project ❤️")
.frame(minHeight: 24)
}
}
.frame(width: 475)
Expand All @@ -234,6 +235,31 @@ struct Release3_24_0: View {
}
}

struct SponsorView: View {
let imageUrl: URL?
let githubHandle: String

var body: some View {
HStack(spacing: 4) {
AsyncImage.init(url: imageUrl) { image in
image
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 24, height: 24)
.mask { Circle() }
} placeholder: {
Circle()
.fill(Color(.controlAccentColor))
.frame(width: 24, height: 24)
.overlay {
ProgressView()
}
}
Link("@\(githubHandle)", destination: URL(string: "https://github.com/\(githubHandle)")!)
}
}
}

struct Release3_24_0_Previews: PreviewProvider {
static var previews: some View {
Release3_24_0 { _ in }
Expand Down
2 changes: 1 addition & 1 deletion App/Sources/UI/Views/Windows/ReleaseNotesScene.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ struct ReleaseNotesScene: Scene {

var body: some Scene {
WindowGroup(id: KeyboardCowboy.releaseNotesWindowIdentifier) {
Release3_23_2 { action in
Release3_24_0 { action in
switch action {
case .done:
NSApplication.shared.keyWindow?.close()
Expand Down
16 changes: 8 additions & 8 deletions appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">
<channel>
<title>Keyboard Cowboy</title>
<item>
<title>3.24.0</title>
<pubDate>Mon, 20 May 2024 11:37:11 +0200</pubDate>
<sparkle:version>894</sparkle:version>
<sparkle:shortVersionString>3.24.0</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>13.0</sparkle:minimumSystemVersion>
<enclosure url="https://github.com/zenangst/KeyboardCowboy/releases/download/3.24.0/Keyboard.Cowboy.3.24.0.dmg" length="8656091" type="application/octet-stream" sparkle:edSignature="cPS2pat7txmRPIEX62bIZ82HOQlQJcGBvL1tHYGKgJaxI2nnSC1AQlIod6V5eKxSPQkZ+YzR+/0FCefvmENZAg=="/>
</item>
<item>
<title>3.23.2</title>
<pubDate>Sun, 17 Mar 2024 18:18:57 +0100</pubDate>
Expand All @@ -18,14 +26,6 @@
<sparkle:minimumSystemVersion>13.0</sparkle:minimumSystemVersion>
<enclosure url="https://github.com/zenangst/KeyboardCowboy/releases/download/3.23.1/Keyboard.Cowboy.3.23.1.dmg" length="8333530" type="application/octet-stream" sparkle:edSignature="DYQuz1jUG/u/5IJ5h2uvWu+2l230a3CvyfxixyAqKhMWAOW4k70v4v0v0zdB4sLMo8OKYmDjMd1VQeMw6PUiBg=="/>
</item>
<item>
<title>3.23.0</title>
<pubDate>Sun, 03 Mar 2024 13:45:43 +0100</pubDate>
<sparkle:version>577</sparkle:version>
<sparkle:shortVersionString>3.23.0</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>13.0</sparkle:minimumSystemVersion>
<enclosure url="https://github.com/zenangst/KeyboardCowboy/releases/download/3.23.0/Keyboard.Cowboy.3.23.0.dmg" length="8276900" type="application/octet-stream" sparkle:edSignature="lrYFVufqXxbkTJ7Jss4ozERc9u1fps5GnVpMLY8Rwk1VDYFtYhVlX3PYqHfIKswFivtDtRQEHtJfkgtysYqCBQ=="/>
</item>
<item>
<title>0.4.1</title>
<pubDate>Mon, 21 Dec 2020 19:46:13 +0100</pubDate>
Expand Down

0 comments on commit 567ecbf

Please sign in to comment.