From ed87bd39b6bf77f4ae85ee338899af09bc582b7d Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Wed, 30 Sep 2026 15:28:16 +0800 Subject: [PATCH] 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 --- mobile/scripts/testflight.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mobile/scripts/testflight.sh b/mobile/scripts/testflight.sh index 3033d1c2..a75f4292 100755 --- a/mobile/scripts/testflight.sh +++ b/mobile/scripts/testflight.sh @@ -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"