While I'm working on it, I have my application's location hardcoded:
public static string MYPROGRAM_PATH = "/path/to/my/workspace";
Obviously this won't work once I package and distribute my application. How do I keep track of where it is installed to?
I'm primarily concerned with linux packaging (specifically .deb's), but I'm planning on using this as an exercise to learn about Windows and Mac packaging as well, so all tips are welcome.