rschupp / PAR-Packer

(perl) Generate stand-alone executables, perl scripts and PAR files https://metacpan.org/pod/PAR::Packer
Other
48 stars 13 forks source link

change unpack dir under windows #23

Open shawnlaffan opened 4 years ago

shawnlaffan commented 4 years ago

This PR changes the default pp unpack directory under Windows to be in the user's %LOCALAPPDATA% directory, following discussions in and around https://rt.cpan.org/Public/Bug/Display.html?id=132811#txn-1902197

The system could alternately unpack under %LOCALAPPDATA%/Programs. This seems to be where some other programs are installed locally (Python and MS VS Code in my case) so might be easier to find.

I also wonder if the top directory could include the exe name to make it easier to identify, e.g. for later removal.