I'm working on a Gamer's Gate game installer bash script, and it's currently working quite fine. But the script has a companion program which handles all direct contact with the Gamer's Gate web site, written in perl since I am not fluent in python. I know next to nothing about POL plugins and such.
I have tried keeping the program inside the bash script and pipe it through perl during runtime, but it appears that python is somehow working behind the scenes and chokes on the code.
This is basically how I've tried to pipe the program to perl:
cat<<EOF | perl -
<perl script here>
I've also tried:
cat<<EOF | sed -e 's/^#//' | perl -
# <commented perl script here>
but python still wants to process the perl code. The following is shown in a dialog box:
Can't load image from file 'syntax error at - line 22, near "if ->content "': file does not exist.
Since I've hit the brick wall, my question is how companion programs should be handled?
Should it be handled via a .pol (plugin I assume?), or should the installer download the program from the POL site during installation? Or is there some other way to handle these?
Aangepast door Gustra