EWxplicitely ban api-ms-win, as those dlls can come from different places.
This commit is contained in:
@@ -20,7 +20,7 @@ copy_dll()
|
||||
local dll_full_path=$(cygpath --unix --absolute "$1")
|
||||
echo "copy $dll_full_path to $2"
|
||||
#remove all dlls from system and Visual
|
||||
if ! [[ "$dll_full_path" =~ "Visual" ]] && ! [[ "$dll_full_path" =~ "system32" ]]; then
|
||||
if ! [[ "$dll_full_path" =~ "api-ms-win" ]] && ! [[ "$dll_full_path" =~ "system32" ]]; then
|
||||
cp "$dll_full_path" "$2"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user