tools/wineshelllink: Create links with WINEPREFIX.
This commit is contained in:
parent
f407e9a05d
commit
9a3a144896
|
@ -87,7 +87,7 @@ desktop_entry()
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=$linkname
|
Name=$linkname
|
||||||
Exec=wine "$path" $args
|
Exec=env WINEPREFIX="${WINEPREFIX:-$HOME/.wine}" wine "$path" $args
|
||||||
Type=Application
|
Type=Application
|
||||||
EOF
|
EOF
|
||||||
[ -z "$descr" ] || echo "Comment=$descr"
|
[ -z "$descr" ] || echo "Comment=$descr"
|
||||||
|
|
Loading…
Reference in New Issue