mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
fix: 资源更新不应该复制 cache 文件夹
This commit is contained in:
@@ -68,11 +68,11 @@ public static class ResourceUpdater
|
||||
return false;
|
||||
}
|
||||
|
||||
// 把 \MaaResource-main 中的 cache 和 resource 文件夹复制到当前目录
|
||||
// 把 \MaaResource-main 中的 resource 文件夹复制到当前目录
|
||||
try
|
||||
{
|
||||
string basePath = Path.Combine(ExtractFolder, "MaaResource-main");
|
||||
foreach (var folder in new[] { "cache", "resource" })
|
||||
foreach (var folder in new[] { "resource" })
|
||||
{
|
||||
DirectoryMerge(
|
||||
Path.Combine(basePath, folder),
|
||||
|
||||
Reference in New Issue
Block a user