build audiotee from the third_party/audiotee submodule, not a sibling dir
The initial commit's embed-binaries.sh still had the pre-submodule logic (../audiotee sibling checkout) even though third_party/audiotee was already added and referenced in CLAUDE.md — the edit to actually switch the script over got made but never re-staged before the first commit. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -112,9 +112,22 @@ now), re-verify rather than assume this still holds.
|
||||
Implemented: `scripts/embed-binaries.sh`, invoked by a "Run Script" build phase named "Embed
|
||||
audiotee, transcriptor-ai, qwen_asr" (last phase on the `transcriptor` target, after
|
||||
Resources). It:
|
||||
- `../audiotee` — runs `scripts/build-signed.sh` there, then copies the resulting
|
||||
`~/bin/audiotee` in. Doesn't reimplement audiotee's signing logic, just invokes it.
|
||||
- `../transcriptor-ai` — runs `scripts/build-dist.sh` there (builds both `transcriptor-ai`
|
||||
- `third_party/audiotee` — a **git submodule** (2026-08-09), pinned to a commit on our own
|
||||
Gitea fork (`ssh://git@gitea.sttlab.eu:2222/stt/audiotee.git`, migrated there from
|
||||
`github.com/makeusabrew/audiotee` since we don't have push access upstream — that GitHub
|
||||
remote is now `upstream` in the audiotee repo, `origin` is the Gitea fork). Was a sibling
|
||||
directory (`../audiotee`) before this — converted for the same reason `transcriptor-ai`
|
||||
already vendors `qwen-asr` as a submodule: this script shouldn't depend on a checkout
|
||||
existing at some assumed sibling path on whatever machine builds this. The script runs
|
||||
`git submodule update --init --recursive third_party/audiotee`, then
|
||||
`third_party/audiotee/scripts/build-signed.sh`, then copies the resulting `~/bin/audiotee`
|
||||
in (`build-signed.sh` always installs there regardless of where its own source checkout
|
||||
lives, so nothing else needed to change). Verified end to end after the conversion: ran the
|
||||
script standalone, confirmed (via `codesign -dvvv` and `md5`) the embedded binary was
|
||||
freshly built from the submodule checkout and correctly signed, not a stale leftover.
|
||||
- `../transcriptor-ai` — still a **sibling directory**, not a submodule (not converted —
|
||||
wasn't asked for, and the audiotee fragility this session's change addressed doesn't apply
|
||||
to it the same way yet). Runs `scripts/build-dist.sh` there (builds both `transcriptor-ai`
|
||||
and `qwen_asr`, the latter from a pinned git submodule, `third_party/qwen-asr`, inside that
|
||||
repo, into `dist/`), then copies `dist/*` in. This repo still doesn't need to know about
|
||||
qwen-asr directly — that stays `transcriptor-ai`'s dependency to manage.
|
||||
|
||||
Reference in New Issue
Block a user