1, 删除多余日志

2,修复不能引用系统资源缺陷
3,配置文件中startWindowIcon,startWindowBackground,resource,extra 标签资源引用替换成资源ID

Signed-off-by: chencheng31 <chencheng8@huawei.com>
This commit is contained in:
chencheng31
2022-04-19 14:34:56 +08:00
parent e947ee7547
commit 471fc07eae
6 changed files with 15 additions and 12 deletions
+1 -2
View File
@@ -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