From cf38b452d2e711878860aff9cdc1d8288a47128c Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Wed, 14 Dec 2022 09:27:26 +0100 Subject: [PATCH] remove usefulness lib files from windows release --- scripts/Windows/internal/2a_portable.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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..."