add preliminary MAFX file output for palette3
This commit is contained in:
parent
30ac032e9f
commit
c83945b07f
6 changed files with 105 additions and 5 deletions
|
|
@ -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`);
|
||||
})
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue