Update web install for fastboot.js and zip.js updates

This commit is contained in:
Danny Lin
2021-01-23 17:53:22 -08:00
committed by Daniel Micay
parent bddb6ae5b7
commit b88a4bcb88
3 changed files with 10 additions and 8 deletions

View File

@@ -87,7 +87,9 @@ function addButtonHook(id, callback) {
// zip.js is loaded separately.
// eslint-disable-next-line no-undef
zip.configure({
workerScriptsPath: "/js/fastboot/libs/",
workerScripts: {
inflate: ["/js/fastboot/libs/z-worker-pako.js", "pako_inflate.min.js"],
},
});
if ("usb" in navigator) {