Skip to content

Commit

Permalink
Update CommandPatch.cpp
Browse files Browse the repository at this point in the history
忽略隐藏文件,避免在mac系统下打包生成的文件影响发布
  • Loading branch information
shevqko authored Dec 30, 2024
1 parent c7e9172 commit 24684cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NodeServer/CommandPatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,8 @@ int CommandPatch::execute(string &sResult)
do
{
vector<string> files;
tars::TC_File::listDirectory(srcPath, files, false);
// 忽略隐藏文件,避免在mac系统下打包生成的文件影响发布
tars::TC_File::listDirectory(srcPath, files, false, true);
if(files.empty())
{
sResult = cmd + ", error!";
Expand Down

0 comments on commit 24684cc

Please sign in to comment.