I have a program that I intend to install on Linux and Windows machines. I have it cross-compiling fine (with autotools), but at some point I would like the program to be able to update its binaries. The only ways I can think of doing this are:
- Give users write access to "C:\Program Files\Foo Program" or "/usr/bin/foo_program".
or
- Install the program to the user's profile/home directory.
Neither of these seems like a good idea. What would you do?