Closed gabrielsrd closed 3 weeks ago
Hey @gabrielsrd, and thanks for yet another great PR. In the end, I've found that a test case for this isn't so critical and that it may introduce instability to the suite, as we saw yesterday when trying to debug it :disappointed:.
In any case, I've run some manual tests that validated the change. Merged into the unstable branch :+1:
This commit changes the default location of the
config.json
configuration file for patch-hub to~/.config/patch-hub/config.json
from its previous location at~/.local/share/patch-hub/config.json
. This relocation ensures compliance with XDG Base Directory standards.Additionally, a test has been added in
src/app/config/tests.rs
to confirm that the config file is saved correctly in the new location with appropriate content.