This commit is contained in:
schlagmichdoch 2023-01-18 15:44:20 +01:00
parent 29735ff617
commit 6748cc0cb4
4 changed files with 6 additions and 19 deletions

View file

@ -56,9 +56,6 @@ const zipper = (() => {
throw new Error("Zip file closed");
}
},
specifyOnProgress(onprogressCallback) {
zipWriter.onprogress = onprogressCallback;
},
async getZipFile(filename = "archive.zip") {
if (zipWriter) {
const file = new File([await zipWriter.close()], filename, {type: "application/zip"});