QuasarApp / CQtDeployer

This project is used to deploy applications written using QML, qt or other С / С++ frameworks.
https://quasarapp.ddns.net:3031/docs/QuasarApp/CQtDeployer/latest/
GNU Lesser General Public License v3.0
570 stars 89 forks source link

Implementation of copying multiple directories #807

Closed AnSMru closed 4 months ago

AnSMru commented 4 months ago

Мне необходимо выполнить настройку подобную этой: "extraData": [ "c:\gstreamer\1.0\mingw_x86_64\bin\.dll" ], "extraDataOut": "lib/bin", "extraData": [ "c:\gstreamer\1.0\mingw_x86_64\lib\.dll" ], "extraDataOut": "lib/lib",

То есть скопировать файлы с учетом структуры, но воспринимается только последний параметр. Хотелось бы видеть такую возможность.

EndrII commented 4 months ago

Just use universal root Dir for your extra data.

"extraData": [
"c:/gstreamer/1.0/mingw_x86_64/"
],
"extraDataOut": "lib",
"ignore": [
     "c:/gstreamer/1.0/mingw_x86_64/noneededPath1",
     "c:/gstreamer/1.0/mingw_x86_64/noneededPath2",
     ".noneededExtensions"
]

Note : Please use english language to asking or discuss, The russian language can be Incomprehensible to most users.

AnSMru commented 4 months ago

That is, to do it by the exclusion method, and not by the necessary list? But I only need the dll, and in the directory c:/gstreamer/1.0/mingw_x86_64 / more than 4000 files. All I need is ./bin/.dll (200 files) and ./lib/gstreamer-1.0/.dll (194 files)

EndrII commented 4 months ago

That is, to do it by the exclusion method, and not by the necessary list? But I only need the dll, and in the directory c:/gstreamer/1.0/mingw_x8664 / more than 4000 files. All I need is ./bin/.dll (200 files) and ./lib/gstreamer-1.0/_.dll (194 files)

Yes, just fill an ignore list to your prefix. at now, it is a single way to solve your issue.