Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix(linux): resolve symlink in launcher wrapper (#717)

Alcahest34217529c92e
diff --git a/scripts/afterPack.js b/scripts/afterPack.js
index 6b45f7ce6..09add3712 100644
--- a/scripts/afterPack.js
+++ b/scripts/afterPack.js
@@ -176,7 +176,7 @@ function wrapLinuxBinary(context) {
# OpenWhispr launcher
# User flags: ~/.config/${binaryName}-flags.conf (one per line, # = comment)
-HERE="\${BASH_SOURCE%/*}"
+HERE="$(dirname "$(readlink -f "\${BASH_SOURCE[0]}")")"
FLAGS=()
# Wayland: forces XWayland (overlay positioning requires X11)