Drop the web app; the macOS app is byre's only client

This commit is contained in:
Ian Gulliver
2026-10-17 12:06:40 -07:00
parent edb59a3718
commit 63bf57e42e
116 changed files with 297 additions and 24370 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
#!/bin/sh
set -eu
mac=$(cd "$(dirname "$0")" && pwd)
root=$(dirname "$mac")
build=$mac/.build
app=$build/byre.app
svg=$root/web/favicon-tile.svg
svg=$mac/icon.svg
icns=$build/byre.icns
swift build --package-path "$mac" --configuration release
if [ ! "$icns" -nt "$svg" ]; then
@@ -21,7 +20,7 @@ rm -rf "$app"
mkdir -p "$app/Contents/MacOS" "$app/Contents/Resources/fonts"
cp "$build/release/Byre" "$app/Contents/MacOS/Byre"
cp "$mac/Info.plist" "$app/Contents/Info.plist"
cp "$root"/web/fonts/*.woff2 "$app/Contents/Resources/fonts/"
cp "$mac"/fonts/*.woff2 "$app/Contents/Resources/fonts/"
cp "$icns" "$app/Contents/Resources/byre.icns"
cp "$mac/byre.provisionprofile" "$app/Contents/embedded.provisionprofile"
codesign --force --sign "Apple Development" --entitlements "$mac/byre.entitlements" "$app"