Hi,

Thank you both for your answer, so if i want to copy every item from the bundle, i have to check every file name and rebuild bundle directory from scratch ? Old solution was better since i only had to copy the app directory like this : File.copy(inputs.bundle[0]...) but anyway it's working so thank you !


Regards,


Dorian.


Le 15/06/2017 à 16:56, Jake Petroules a écrit :
Also note that the old "bundle" tag was only assigned to the bundle 
*directory*, whereas bundle.content is assigned to all of the files which constitute the 
bundle (which is what you want).

On Jun 15, 2017, at 2:46 AM, Christian Kandeler <christian.kande...@qt.io> 
wrote:

On Thu, 15 Jun 2017 11:04:31 +0200
Dorian Jicquel <dorian.jicq...@mana-sys.fr> wrote:

Before the update i used inputs.bundle[index] ( with "bundle" tag input
) to access every file from the tag but now i can't use
inputs.bundle.content[index] ( "bundle.content" tag ? ) since i think
the dot is used to access other objects in this case.
If the tag name is not a valid JavaScript identifier, you have to use the alternative 
syntax: inputs["bundle.content"][index].


Christian
_______________________________________________
Qbs mailing list
Qbs@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

_______________________________________________
Qbs mailing list
Qbs@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to