This commit is contained in:
jahruz67
2026-05-08 17:09:25 -07:00
parent afe0692da3
commit 5bf321b22e
6 changed files with 94 additions and 10 deletions
+4 -1
View File
@@ -150,12 +150,15 @@ if [[ "$INSTALL" == "y" || "$INSTALL" == "Y" ]]; then
sudo cp "build/appicon.png" "$ICON_PATH"
fi
# Absolute Exec path: some desktop environments do not put /usr/local/bin on PATH
# for .desktop launches, so "Exec=wis-free-v3" can fail with no visible error.
cat << EOF > /tmp/$APP_NAME.desktop
[Desktop Entry]
Type=Application
Name=WIS Free V3
Comment=Voice Dictation App
Exec=$APP_NAME
Exec=/usr/local/bin/$APP_NAME
TryExec=/usr/local/bin/$APP_NAME
Icon=$APP_NAME
Terminal=false
Categories=Utility;Audio;