I am building a Wx
application, and plan to distribute it packaged with Wx::Perl::Packager
. I use several icons (actually *.pngs, though I might use *.gifs or *.xpms instead), which I would like to distribute packed inside the par'ed application. I am curious about how to do this. I've tried placing the icons in a separate folder and add that to the archive (wxpar --gui -a icons -o script.exe script.pl
), then accessing this folder relative to the /script folder in the archive (i.e. ../icons), but that doesn't work (wx dies, can't find image). So what's the right way to do this?