isAppNI = true;
}
+ // TAC disables the --inputbubble option to remove dependencies with other apps.
+ bool isInputBubble = false;
if (opt->flags & NI_FLAGS_INPUT_BUBBLE) {
- std::vector<std::string> refs;
- splitPath(refPaths, refs);
- for (auto &p: refs) {
- if (isDirectory(p) && checkDllExistInDir(p)) {
- opt->inputBubbleRefFiles.push_back(p + "/*.dll");
- }
- }
+ opt->flags &= ~NI_FLAGS_INPUT_BUBBLE;
+ isInputBubble = true;
}
// get managed file list from targetPath
}
}
+ if (isInputBubble) {
+ opt->flags |= NI_FLAGS_INPUT_BUBBLE;
+ }
+
if (isAppNI) {
opt->flags |= NI_FLAGS_APPNI;
for (auto &niPath : niList) {