mirror of
https://github.com/reactos/wine.git
synced 2025-02-09 05:36:56 +00:00
Prepend "--" to arguments.
This commit is contained in:
parent
f65c7d546d
commit
f0cd93f554
@ -69,7 +69,7 @@ kde_entry()
|
|||||||
# KDE Config File
|
# KDE Config File
|
||||||
[KDE Desktop Entry]
|
[KDE Desktop Entry]
|
||||||
Name=$xname
|
Name=$xname
|
||||||
Exec=wine "$path" $args
|
Exec=wine "$path" -- $args
|
||||||
Type=Application
|
Type=Application
|
||||||
Comment=$descr
|
Comment=$descr
|
||||||
EOF
|
EOF
|
||||||
@ -83,7 +83,7 @@ gnome_entry()
|
|||||||
cat <<EOF
|
cat <<EOF
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=$xname
|
Name=$xname
|
||||||
Exec=wine "$path" $args
|
Exec=wine "$path" -- $args
|
||||||
Type=Application
|
Type=Application
|
||||||
Comment=$descr
|
Comment=$descr
|
||||||
EOF
|
EOF
|
||||||
@ -96,7 +96,7 @@ mdk_entry()
|
|||||||
base=`basename "$link"`
|
base=`basename "$link"`
|
||||||
section=`dirname "$link"`
|
section=`dirname "$link"`
|
||||||
[ -z "$icon" ] || xicon="icon=\"$xpmicon\""
|
[ -z "$icon" ] || xicon="icon=\"$xpmicon\""
|
||||||
echo "?package(local.Wine):needs=x11 section=\"Wine/$section\" title=\"$base\" longtitle=\"$descr\" command=\"wine \\\"$path\\\" $args\" $xicon"
|
echo "?package(local.Wine):needs=x11 section=\"Wine/$section\" title=\"$base\" longtitle=\"$descr\" command=\"wine \\\"$path\\\" -- $args\" $xicon"
|
||||||
}
|
}
|
||||||
|
|
||||||
# copy the icon file to a specified dir and set xpmicon to the resulting path
|
# copy the icon file to a specified dir and set xpmicon to the resulting path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user