fix: download path不再使用时间戳

This commit is contained in:
余泓铮
2025-06-29 14:44:15 +08:00
parent a476e47609
commit 5ac641999e

View File

@@ -62,7 +62,7 @@ func GetConfig() *Config {
startTimeStr := cfg.StartTime.Format("20060102150405")
resultsDir := filepath.Join(ResultsDirName, startTimeStr)
cfg.resultsPath = filepath.Join(cfg.RootDir, resultsDir)
cfg.downloadsPath = filepath.Join(cfg.RootDir, filepath.Join(DownloadsDirName, startTimeStr))
cfg.downloadsPath = filepath.Join(cfg.RootDir, filepath.Join(DownloadsDirName))
cfg.screenShotsPath = filepath.Join(cfg.resultsPath, ScreenshotsDirName)
cfg.actionLogDirPath = filepath.Join(resultsDir, ActionLogDirName)
globalConfig = cfg