mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-10-03 00:01:55 +00:00
fix(mobile): testflight.sh puts the tty7 icon back after ios init (#1038)
`tauri ios init` fills the asset catalog with Tauri's placeholder icon, so a regenerated gen/ shipped build 0.1.0.9 with the wrong icon. Copy src-tauri/icons/ios over it on every run. Claude-Session: https://claude.ai/code/session_01HVosmYyVSH3BrsLYx3tcSS
This commit is contained in:
@@ -38,6 +38,10 @@ mkdir -p "$OUT"
|
||||
|
||||
[ -f "$PROJECT" ] || npm run tauri ios init
|
||||
|
||||
# `tauri ios init` fills the asset catalog with Tauri's placeholder icon;
|
||||
# put ours back so a regenerated gen/ never ships it.
|
||||
cp src-tauri/icons/ios/*.png src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/
|
||||
|
||||
# Release signing off for the archive only; the project is put back however
|
||||
# this exits.
|
||||
cp "$PROJECT" "$OUT/project.pbxproj.orig"
|
||||
|
||||
Reference in New Issue
Block a user