dashboard
repositories
activity
search
login
APPS
/
PAILot
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
fix: only set playingMessageId on first auto-played chunk to prevent race
Matthias Nott
2026-03-24
a8aa30beefb15b604a37867c45dc815b9da5b53a
[APPS/PAILot.git]
/
tools
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
# PAILot iOS Build Script
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
APP_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$APP_DIR"
echo "=== Building IPA ==="
flutter build ipa --release --no-pub --export-method development --no-tree-shake-icons
echo ""
echo "=== Fixing archive name ==="
ARCHIVE="build/ios/archive/Runner.xcarchive/Info.plist"
if [ -f "$ARCHIVE" ]; then
plutil -replace Name -string "PAILot" "$ARCHIVE"
plutil -replace SchemeName -string "PAILot" "$ARCHIVE"
echo " Archive name set to 'PAILot'"
fi
echo ""
echo "=== Done ==="
echo "Build complete: build/ios/ipa/pailot.ipa"
echo "Run ./tools/deploy.sh to install on device"