Add files via upload

This commit is contained in:
zsyg
2025-07-20 13:21:19 +08:00
committed by GitHub
parent 4c13fe0008
commit f4f4d86faa
8 changed files with 136 additions and 125 deletions

View File

@@ -59,7 +59,7 @@ namespace AppStore
}
catch
{
// 忽略所有异常使用默认值
// 忽略所有异常,使用默认值
}
return result;
@@ -115,7 +115,7 @@ namespace AppStore
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
"Downloads");
Logger.LogError($"下载路径{downloadsDir}不可用将使用默认路径: {defaultPath}", ex);
Logger.LogError($"下载路径{downloadsDir}不可用,将使用默认路径: {defaultPath}", ex);
downloadsDir = defaultPath;
Directory.CreateDirectory(downloadsDir);
}