The forum

command to exec before running the program

Author Replies
magnesium Sunday 2 February 2020 at 8:28
magnesium

when i goto 'configure - miscellaneous - command to exec before running the program' and add an 'export' its working fine.

how can i add this to my install script?

i tried

POL_Shortcut_InsertBeforeWine "$TITLE" "export PBA_ENABLE=1"
POL_Shortcut "game.exe" "$TITLE"

but its not working.

'command to exec before running the program' is empty.

 

Dadu042 Sunday 2 February 2020 at 23:46
Dadu042
Moderator

The full doc is into the Wiki.

magnesium Monday 3 February 2020 at 18:09
magnesium

its working, i see it in the shortcut.  i just thought it would have showed up in that  text box.

thanks.