fix: 修复download path错误

This commit is contained in:
余泓铮
2025-02-20 10:49:23 +08:00
parent 4c4b142a9d
commit d95251ae5d
2 changed files with 5 additions and 2 deletions

View File

@@ -47,6 +47,9 @@ func init() {
if err := builtin.EnsureFolderExists(ResultsPath); err != nil {
log.Fatal().Err(err).Msg("create results directory failed")
}
if err := builtin.EnsureFolderExists(DownloadsPath); err != nil {
log.Fatal().Err(err).Msg("create results directory failed")
}
if err := builtin.EnsureFolderExists(ScreenShotsPath); err != nil {
log.Fatal().Err(err).Msg("create screenshots directory failed")
}