Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
fix: fic for ubuntu build
Gabriel Steinaaee77a8e0b6
diff --git a/resources/linux/after-remove.sh b/resources/linux/after-remove.shindex a7f361cad..5aaadee50 100755--- a/resources/linux/after-remove.sh+++ b/resources/linux/after-remove.sh@@ -1,14 +1,14 @@#!/bin/bashset -euo pipefail-CACHE_DIR="${HOME}/.cache/openwhispr"-MODELS_DIR="${CACHE_DIR}/models"+CACHE_DIR="$HOME/.cache/openwhispr"+MODELS_DIR="$CACHE_DIR/models"-if [[ -d "${MODELS_DIR}" ]]; then- rm -rf "${MODELS_DIR}"+if [ -d "$MODELS_DIR" ]; then+ rm -rf "$MODELS_DIR"echo "Removed OpenWhispr cached models"fi-if [[ -d "${CACHE_DIR}" ]]; then- rmdir "${CACHE_DIR}" 2>/dev/null || true+if [ -d "$CACHE_DIR" ]; then+ rmdir "$CACHE_DIR" 2>/dev/null || truefi