Host the site and release downloads on byre.run via Cloudflare

This commit is contained in:
Ian Gulliver
2026-10-19 16:59:59 -07:00
parent b9a988e2d5
commit 0be09b3279
9 changed files with 244 additions and 11 deletions
+1 -3
View File
@@ -1,7 +1,6 @@
#!/bin/sh
set -eu
mac=$(cd "$(dirname "$0")" && pwd)
repo=ai/byre
sparkle_version=2.10.0
sparkle=$HOME/Library/Caches/byre/sparkle-$sparkle_version
identity="Developer ID Application"
@@ -14,7 +13,6 @@ fi
"$mac/bundle.sh"
app=$mac/.build/Byre.app
version=$(plutil -extract CFBundleShortVersionString raw "$app/Contents/Info.plist")
tag=v$version
out=$mac/.build/release/$version
rm -rf "$out"
mkdir -p "$out"
@@ -50,7 +48,7 @@ cat > "$out/appcast.xml" <<EOF
<sparkle:version>$build</sparkle:version>
<sparkle:shortVersionString>$version</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>$minimum</sparkle:minimumSystemVersion>
<enclosure url="https://g.fc.run/$repo/releases/download/$tag/$dmg" type="application/octet-stream" $signature/>
<enclosure url="https://dl.byre.run/$dmg" type="application/octet-stream" $signature/>
</item>
</channel>
</rss>