Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ Go to System Settings → Privacy & Security and click "Open Anyway", or right-c

Grant microphone and accessibility access when prompted — microphone for recording, accessibility for typing the result.

## Release Notes

For packaged releases, check [GitHub Releases](../../releases) for the latest changes and install notes.

## Model Selection
Bundled with tiny model loaded in memory, but Base model can be downloaded on demand from the menu
(Improved accuracy, larger resource hit)
Expand Down
9 changes: 7 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,14 @@ ensure_whisper_checkout() {
git clone --depth 1 --branch "$WHISPER_REF" "$WHISPER_REPO_URL" "$WHISPER_DIR"
fi

git -C "$WHISPER_DIR" fetch --depth 1 origin "$WHISPER_REF"
local target_commit current_commit
target_commit="$(git -C "$WHISPER_DIR" rev-parse FETCH_HEAD)"
if target_commit="$(git -C "$WHISPER_DIR" rev-parse --verify "$WHISPER_REF^{commit}" 2>/dev/null)"; then
echo "Using local whisper.cpp ref $WHISPER_REF..."
else
echo "Fetching whisper.cpp $WHISPER_REF..."
git -C "$WHISPER_DIR" fetch --depth 1 origin "$WHISPER_REF"
target_commit="$(git -C "$WHISPER_DIR" rev-parse FETCH_HEAD)"
fi
current_commit="$(git -C "$WHISPER_DIR" rev-parse HEAD 2>/dev/null || true)"

if [ "$current_commit" != "$target_commit" ]; then
Expand Down
Loading