mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-07-11 01:24:01 +02:00
Script: simplify BundleDependencies.sh
This commit is contained in:
@@ -29,13 +29,10 @@ function findAndCopyDLL() {
|
||||
}
|
||||
|
||||
|
||||
for ext in dll exe
|
||||
for file in "$bin_dir"/*.exe "$bin_dir/Plugin"/*/*.dll
|
||||
do
|
||||
while read -r file_line
|
||||
do
|
||||
echo "=> Copying dependencies for $file_line"
|
||||
copyForOBJ "$file_line"
|
||||
done < <(find "$bin_dir" -name "*.$ext")
|
||||
echo "=> Copying dependencies for $file"
|
||||
copyForOBJ "$file"
|
||||
done
|
||||
|
||||
windeployqt-qt6 "$exe"
|
||||
|
||||
Reference in New Issue
Block a user