You are partly right. This is the correct dir to install programs, but not to write data at runtime to.
What widelands does at moment (the logfile).
I do want to enable users with no admin rights to be able to install and play widelands, so I won't hardcode asking for privileges into the installer.
But for B20 we should do:
- Ask for admin privileges if the user chooses a dir which requires those (but only then)
- Do not write the logfile to wl binary dir (This should go to %USERHOME%\.widelands)
You are partly right. This is the correct dir to install programs, but not to write data at runtime to.
What widelands does at moment (the logfile).
I do want to enable users with no admin rights to be able to install and play widelands, so I won't hardcode asking for privileges into the installer.
But for B20 we should do: \.widelands)
- Ask for admin privileges if the user chooses a dir which requires those (but only then)
- Do not write the logfile to wl binary dir (This should go to %USERHOME%