Skip to content

Commit 6d5b23d

Browse files
committed
Package staged TurtleTerm macOS app bundle
1 parent 0121e8a commit 6d5b23d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packaging/scripts/package-turtle-term.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ cp -R "$repo_root/assets/sourceos/desktop/." "$stage/share/turtle-term/desktop/"
4242
cp "$repo_root/LICENSE.md" "$stage/"
4343
cp "$repo_root/THIRD_PARTY_NOTICES.md" "$stage/" 2>/dev/null || true
4444

45+
if [[ "$target" == macos-* ]] || [[ "$(uname -s)" == "Darwin" ]]; then
46+
chmod +x "$repo_root/packaging/scripts/stage-macos-app.sh"
47+
"$repo_root/packaging/scripts/stage-macos-app.sh" "$version" "$stage/share/turtle-term" >/dev/null
48+
fi
49+
4550
cat > "$stage/README.md" <<'EOF'
4651
# TurtleTerm Release Artifact
4752
@@ -57,6 +62,7 @@ This artifact includes:
5762
- TurtleTerm mux launcher
5863
- TurtleTerm profile
5964
- TurtleTerm Linux desktop metadata
65+
- TurtleTerm staged macOS app metadata when built for macOS
6066
- TurtleTerm skill manifests
6167
- TurtleTerm turtle icon
6268
- SourceOS terminal documentation

0 commit comments

Comments
 (0)