A CLI tool for downloading from pixiv.net
修訂 | cab402b860f2b2ef060e757c42f6ebac00590f22 (tree) |
---|---|
時間 | 2023-10-25 19:11:20 |
作者 | mio <stigma@disr...> |
Commiter | mio |
Log data directory
Helps locate the file when an update of PHPSESSID is required.
Need to add an option for changing this...
@@ -1174,8 +1174,9 @@ loadConfig() | ||
1174 | 1174 | config.baseFolder = userDirs.pictureDir; |
1175 | 1175 | } |
1176 | 1176 | log.infof("config.baseFolder = %s", config.baseFolder); |
1177 | + log.infof("data directory = %s", dirs.dataDir); | |
1177 | 1178 | |
1178 | - string idFilePath = buildPath(dirs.dataDir, ".phpsessid"); | |
1179 | + const idFilePath = buildPath(dirs.dataDir, ".phpsessid"); | |
1179 | 1180 | |
1180 | 1181 | if (!exists(idFilePath)) { |
1181 | 1182 | mkdirRecurse(dirs.dataDir); |