diff options
Diffstat (limited to 'NativeLauncher/tool/tac_common.cc')
-rw-r--r-- | NativeLauncher/tool/tac_common.cc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/NativeLauncher/tool/tac_common.cc b/NativeLauncher/tool/tac_common.cc index 78c20cf..b767c91 100644 --- a/NativeLauncher/tool/tac_common.cc +++ b/NativeLauncher/tool/tac_common.cc @@ -286,18 +286,7 @@ tac_error_e regenerateTAC() { const std::string tacDir[] = {__TAC_DIR}; removeNiUnderDirs(tacDir, 1); - - auto convert = [](const std::string& path, std::string name) { - if (strstr(path.c_str(), TAC_APP_LIST_DB) != NULL || - strstr(path.c_str(), TAC_APP_LIST_RESTORE_DB) != NULL || - strstr(path.c_str(), TAC_SHA_256_INFO) != NULL) - return; - if(createNiDll(path, false) != NI_ERROR_NONE) { - fprintf(stderr, "Failed to create NI file [%s]\n", path.c_str()); - return; - } - }; - scanFilesInDir(tacDir[0], convert, -1); + createNiUnderTAC(tacDir, 1); return TAC_ERROR_NONE; } |