Commit 5cdb8136 authored by 段廷瑞's avatar 段廷瑞

feat: 打包工具:剔除Agent目录

parent 4c991d55
......@@ -138,6 +138,7 @@ namespace Tools.UI.sys
private bool IsFileIgnore(FileInfo f)
{
return f.FullName.Contains("\\AutoUpdate\\") //剔除自动更新文件
|| f.FullName.Contains("\\Agent\\") //剔除Agent本地数据目录(配置、历史、索引、提示词)
|| f.FullName.Contains(Utils.LogPath) //日志、
|| f.FullName.Contains(Utils.TempPath) //临时文件目录
|| f.FullName.Contains(Utils.SavePath) // 系统预设的用户本地文件目录,需要排除
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment