tedsmith / quickhash

Graphical cross platform data hashing tool for Linux, Windows and Mac
http://www.quickhash-gui.org
GNU General Public License v2.0
370 stars 37 forks source link

TXMLPropStorage: don't set config name #114

Closed darealshinji closed 1 year ago

darealshinji commented 1 year ago

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

Closes https://github.com/tedsmith/quickhash/issues/113

Right now the config file is always saved in the current working directory.