in reply to load dylib at runtime
Another approach is to pack everything using pp, but set the PAR_GLOBAL_TEMP environment variable when running the executable (assuming it is via a wrapper script). Set this env var to be a location that is not cleaned up by default, e.g. ~/Library/your_app.
This does lead to the risk that old versions will not be cleaned up unless your installer goes looking for them. However, there are ways of doing so and you can also make it clear to users what to do.
|
|---|