mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-19 11:31:44 -04:00
@@ -60,8 +60,9 @@ uint32_t IdDefinedParser::Init()
|
||||
if (isSys) {
|
||||
return RESTOOL_SUCCESS;
|
||||
}
|
||||
if (!idDefinedInput.empty()) {
|
||||
if (!idDefinedInput.empty() && ResourceUtil::FileExist(idDefinedInput)) {
|
||||
appDefinedIds_.clear();
|
||||
idDefineds_.clear();
|
||||
string idDefinedPath = FileEntry::FilePath(idDefinedInput).GetPath();
|
||||
if (Init(idDefinedPath, false) != RESTOOL_SUCCESS) {
|
||||
return RESTOOL_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user