mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-20 22:47:00 -04:00
1, 删除多余日志
2,修复不能引用系统资源缺陷 3,配置文件中startWindowIcon,startWindowBackground,resource,extra 标签资源引用替换成资源ID Signed-off-by: chencheng31 <chencheng8@huawei.com>
This commit is contained in:
+1
-2
@@ -65,7 +65,6 @@ const vector<unique_ptr<FileEntry>> FileEntry::GetChilds() const
|
||||
|
||||
filePath = filePath_.GetPath() + SEPARATE + filename;
|
||||
unique_ptr<FileEntry> f = make_unique<FileEntry>(filePath);
|
||||
cout << filePath << endl;
|
||||
f->Init();
|
||||
children.push_back(move(f));
|
||||
}
|
||||
@@ -223,7 +222,7 @@ bool FileEntry::CreateDirsInner(const string &path, string::size_type offset)
|
||||
string::size_type pos = path.find_first_of(SEPARATE.front(), offset);
|
||||
if (pos == string::npos) {
|
||||
#if _WIN32
|
||||
return mkdir(path.c_str());
|
||||
return mkdir(path.c_str()) == 0;
|
||||
#else
|
||||
return mkdir(path.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) == 0;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user