Hi all,
It's fairly easy to write a portable application for Windows, e.g.:
- avoid the registry
- read config files from the current/application directory
- put all required dlls in the application directory
On Linux/OSX/FreeBSD, things are different. Suppose I'd want to write a portable password vault with an SQLite database that you can use on a USB stick.
Libraries/.so/.dynlibI suspect I'd have to statically link my libraries or use FPC's LoadLibrary to load in the .so's - but where do I store them, which brings me to my next question:
File locationsDetermining the directory an application is in is not completely reliable (see other messages/cross-platform wiki), so reading config files from the app directory wouldn't really work.
As far as I understand, using resources is a Windows thing.
For config files etc, I could just write out a config file into the user's directory, but I'd prefer if I could keep it on the USB key

What solutions or thoughts do you have?