add preliminary MAFX file output for palette3

This commit is contained in:
Stewart Allen 2021-11-11 11:29:51 -05:00
commit c83945b07f
6 changed files with 105 additions and 5 deletions

View file

@ -641,14 +641,14 @@
let work = $('incwork').checked;
let json = API.conf.export({work, clear:true});
KIRI.client.zip([{
name:"workspace.json", data:JSON.stringify(json)}
KIRI.client.zip([
{name:"workspace.json", data:JSON.stringify(json)}
], progress => {
API.show.progress(progress.percent/100, "compressing workspace");
}, output => {
API.show.progress(0);
API.util.download(output, `${name}.kmz`);
})
});
}
});
}