On Fri, 22 Nov 2024 10:46:39 -0500, Don Peddicord wrote: > The project I am > on created a wrapper for the Perl interpreter which limited its execution > to only the code we provide as part of our application.
I have a similar approach for my ChordPro tool based on Oliver Betz' portable perl loader as used in the standalone exiftool program. Basically I let the PAR packager collect everything needed, then unpack the package to create a file hierarchy, add special libraries and create an installer (InnoSetup for Windows, DMG for macOS). There are several tricks involved to patch/relocate dynamic libraries to make sure the program will only use the packaged libraries. From the perspective of the end user it is a single thing that gets installed, and a single desktop icon to click to start the program. https://www.chordpro.org https://oliverbetz.de/pages/Artikel/ExifTool-for-Windows