diff --git a/scripts/Windows/internal/2a_portable.sh b/scripts/Windows/internal/2a_portable.sh index 77771bf00..49ca551c7 100644 --- a/scripts/Windows/internal/2a_portable.sh +++ b/scripts/Windows/internal/2a_portable.sh @@ -32,6 +32,12 @@ cp $INSTALL_PATH/IFXCoreStatic.lib $INSTALL_PATH/lib/meshlab/ cp $RESOURCES_PATH/LICENSE.txt $INSTALL_PATH/ cp $RESOURCES_PATH/privacy.txt $INSTALL_PATH/ +# remove all .lib files +for file in $(find $INSTALL_PATH -name '*.lib'); +do + rm $file +done + if [ ! -f $INSTALL_PATH/vc_redist.x64.exe ] then echo "Downloading vc_redist because it was missing..."