diff --git a/NodeServer/CommandPatch.cpp b/NodeServer/CommandPatch.cpp index 85253fa..990fb85 100644 --- a/NodeServer/CommandPatch.cpp +++ b/NodeServer/CommandPatch.cpp @@ -441,7 +441,8 @@ int CommandPatch::execute(string &sResult) do { vector files; - tars::TC_File::listDirectory(srcPath, files, false); + // 忽略隐藏文件,避免在mac系统下打包生成的文件影响发布 + tars::TC_File::listDirectory(srcPath, files, false, true); if(files.empty()) { sResult = cmd + ", error!";