tedsmith/quickhash

Save QHConfig.xml in hidden directory

Closed this issue · 1 comments

The config file QHConfig.xml is saved into the current working directory. It would make more sense to save it into a specific config directory, like ~/.config/ on Linux.

Don't set the filename explicitly!

TXMLPropStorage has a default handler if you don't set a FileName.

    Under Windows the settings will be saved in the application directory as PROGRAMNAME.xml.
    Under Unix/Linux/macOS it will be saved in the home directory of the current user as .PROGRAMNAME

It is therefore a very good idea to leave the filename blank for unix programs meant to be run by normal users. 

https://wiki.lazarus.freepascal.org/TXMLPropStorage#Notes