mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
fix bugs
This commit is contained in:
parent
29735ff617
commit
6748cc0cb4
4 changed files with 6 additions and 19 deletions
|
@ -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"});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue