On Fri, Dec 16, 2011 at 8:44 AM, Marc H. Thoben <[email protected]> wrote:
> As mentioned in the FAQ, I also wasn't having luck with using pp --gui
> (WinXP, Strawberry Perl 5.12.3):
> <quote from online FAQ>

What FAQ are you talking about here?

> I'm not qualified enough to make the _fix_console() & _strip_console()
> functions from PAR/Packer.pm run on the parl-binary inside the
> par-pack-binary as well. Probably I just used the wrong terms?

Looking at those functions... they're supposed to handle that case
(i.e. set the magic "gui vs console" byte in both the "bootstrapper"
executable and the copy of par.exe extracted into the cache area)...
Oops found it: a couple of releases back I eliminated a strange
5 line script from the PAR-Packer build process, because I couldn't
figure out what it was good for. Now I know :(

Here's a better solution. Could you please try the attached patch:
- unpack a tarball of PAR-Packer
- apply patch
- build and install
- re-pack your script and test

Cheers, Roderich

Attachment: gui.patch
Description: Binary data

Reply via email to