Closed hashg closed 9 years ago
Try the following:
var sync = ContentSync.sync({ src: 'http://myserver/assets/app.zip', id: 'app', type: 'replace' });
sync.on('complete', function(data) {
var sync2 = ContentSync.sync({ src: 'http://myserver/assets/sub01.zip', id: 'app/sub01', type: 'merge' });
});
i can confirm this works
I'm between builds. I will try it over the weekend. Thanks for @revolunet confirming it.
My scenario is
app.zip
sub01.zip
sub02.zip
Now I want to first download
app.zip
, then unzipsub01.zip
andsub02.zip
insideapp
folder.How can I do it? This allows me to add
sub03
orsub04
later in future.