From 24684cc1b5d934ef08b420a0177509eb54758846 Mon Sep 17 00:00:00 2001 From: kivenchen Date: Mon, 30 Dec 2024 11:37:04 +0800 Subject: [PATCH] Update CommandPatch.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 忽略隐藏文件,避免在mac系统下打包生成的文件影响发布 --- NodeServer/CommandPatch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!";