mirror of
https://github.com/xlmnxp/extractify.zip.git
synced 2024-11-23 17:13:12 +03:00
remove the file after extract local blob url
This commit is contained in:
parent
0a5c42cb11
commit
0edcdd3faa
@ -159,7 +159,8 @@ export class SevenZipManager {
|
|||||||
const blob = new Blob([buffer as unknown as Uint8Array], { type: mime.getType(file.extension!) || "application/octet-stream" });
|
const blob = new Blob([buffer as unknown as Uint8Array], { type: mime.getType(file.extension!) || "application/octet-stream" });
|
||||||
const blobUrl = URL.createObjectURL(blob);
|
const blobUrl = URL.createObjectURL(blob);
|
||||||
|
|
||||||
// this.sevenZip.FS.unlink(file.path.substring(1));
|
// remove the file after extract local blob url
|
||||||
|
this.sevenZip.FS.unlink(file.path.substring(1));
|
||||||
|
|
||||||
return blobUrl;
|
return blobUrl;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user