Ship only the native Swift app on macOS.

GTK packaging stays for Linux and Windows; the Mac installer and updates use the Swift zip.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-21 12:18:32 +02:00
commit 011bc3c685
7 changed files with 71 additions and 524 deletions

View file

@ -24,7 +24,7 @@ final class Updater {
let atom = try self.get("https://github.com/\(self.repo)/commits/\(self.branch).atom")
let remote: String
if let tip = self.atomTip(atom),
let marker = try? self.get("https://raw.githubusercontent.com/\(self.repo)/\(tip)/VERSION-macos-swift")
let marker = try? self.get("https://raw.githubusercontent.com/\(self.repo)/\(tip)/VERSION-macos")
.trimmingCharacters(in: .whitespacesAndNewlines),
marker.count >= 7 {
remote = marker
@ -90,9 +90,9 @@ final class Updater {
private static func assetName() -> String {
#if arch(arm64)
return "maturita-macos-swift-arm64.zip"
return "maturita-macos-arm64.zip"
#else
return "maturita-macos-swift-x86_64.zip"
return "maturita-macos-x86_64.zip"
#endif
}