use %APPDATA%\gallery-dl for config/cache on Windows

This commit is contained in:
Mike Fährmann
2020-05-28 02:56:38 +02:00
parent 275cceeb6a
commit da22ea8ced
4 changed files with 11 additions and 9 deletions

View File

@@ -24,6 +24,7 @@ _config = {}
if util.WINDOWS:
_default_configs = [
r"%APPDATA%\gallery-dl\config.json",
r"%USERPROFILE%\gallery-dl\config.json",
r"%USERPROFILE%\gallery-dl.conf",
]