We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b104c6 commit 1f088ecCopy full SHA for 1f088ec
src.sh
@@ -798,7 +798,7 @@ for file in "$PROTON_SHORTCUTS_PATH"/*.desktop; do
798
esac
799
800
# Unescape windows path
801
- _lnkpathlinux=$(PROTON_VERB=getnativepath umu_launch "$(printf '%s' "$_lnkpathwin" | sed 's/\\\\/\\/g; s/\\ / /g; s/\\\([^\\]\)/\1/g')" 2> /dev/null)
+ _lnkpathlinux=$((PROTON_VERB=getnativepath umu_launch "$(printf '%s' "$_lnkpathwin" | sed 's/\\\\/\\/g; s/\\ / /g; s/\\\([^\\]\)/\1/g')") 2> /dev/null | head -n 1)
802
# Get values from .lnk
803
_lnk="$(parse_lnk "$_lnkpathlinux")"
804
_lnk_exe=$(printf '%s' "$_lnk" | sed -n 's/LocalBasePath://p')
0 commit comments