syvaidya / openstego

OpenStego is a steganography application that provides two functionalities: a) Data Hiding: It can hide any data within an image file. b) Watermarking: Watermarking image files with an invisible signature. It can be used to detect unauthorized file copying.
https://www.openstego.com
GNU General Public License v2.0
1.13k stars 206 forks source link

Config file is written to home directory, not following XDG base directory spec #57

Closed fusate closed 1 year ago

fusate commented 1 year ago

On linux, openstego.ini is written to $HOME, a mildly irritating location for users which prefer a clean user dir. I suggest using the XDG base directory spec. I can open a PR if needed, but it could be a fairly easy fix to implement for someone who is familiar with the code.

syvaidya commented 1 year ago

Fixed with v0.8.6. It also takes care to migrate config from old-style openstego.ini file to <config_home>/openstego/openstego.cfg