I am developing a script for the german game Drakensang.
I would like to set a parameter for the shortcut, but that doesn't work.
Example:
without parameter:
POL_SetupWindow_make_shortcut "Drakensang" "Program Files/Drakensang/" "drakensang.exe" "" "DSA Drakensang"
the file in .PlayOnLinux/configurations/installed is right:
#!/bin/bash
PATH="/home/ds1/.PlayOnLinux/WineVersions/1.1.5Drakensang/usr/bin/:$PATH"
export WINEPREFIX="/home/ds1/.PlayOnLinux/wineprefix/Drakensang"
export WINEDEBUG="-all"
cd "/home/ds1/.PlayOnLinux/wineprefix/Drakensang/drive_c/Program Files/Drakensang"
wine "/home/ds1/.PlayOnLinux/wineprefix/Drakensang/drive_c/Program Files/Drakensang/drakensang.exe" $@
but i want to set -novideo to the shortcut...
so i tried this:
POL_SetupWindow_make_shortcut "Drakensang" "Program Files/Drakensang/" "drakensang.exe -novideo" "" "DSA Drakensang"
but that results in:
#!/bin/bash
PATH="/home/ds1/.PlayOnLinux/WineVersions/1.1.5Drakensang/usr/bin/:$PATH"
export WINEPREFIX="/home/ds1/.PlayOnLinux/wineprefix/Drakensang"
export WINEDEBUG="-all"
cd "/home/ds1/.PlayOnLinux/wineprefix/Drakensang/drive_c/Program Files/Drakensang"
wine "drakensang.exe -novideo" $@
it should be like this:
#!/bin/bash
PATH="/home/ds1/.PlayOnLinux/WineVersions/1.1.5Drakensang/usr/bin/:$PATH"
export WINEPREFIX="/home/ds1/.PlayOnLinux/wineprefix/Drakensang"
export WINEDEBUG="-all"
cd "/home/ds1/.PlayOnLinux/wineprefix/Drakensang/drive_c/Program Files/Drakensang"
wine "/home/ds1/.PlayOnLinux/wineprefix/Drakensang/drive_c/Program Files/Drakensang/drakensang.exe" -novideo $@
Any help would be nice!
Edited by darkeagle