kdrag0n/android-webinstall

End of central directory not found

Opened this issue · 1 comments

An unfinished download, empty (404), or otherwise corrupted zip will result in the following error:

Error: End of central directory not found
  at Ne.getEntries(/protonaosp-install/js/chunk-vendors.fd2d2a3c.js:22:55537)
  at async Ge(/protonaosp-install/js/chunk-vendors.fd2d2a3c.js:22:64445)
  at async rn.flashFactoryZip(/protonaosp-install/js/chunk-vendors.fd2d2a3c.js:22:71271)

This should be handled better, e.g. by providing an option to delete the corrupted blob and retry the download.

An unfinished download, empty (404), or otherwise corrupted zip will result in the following error:

Error: End of central directory not found
  at Ne.getEntries(/protonaosp-install/js/chunk-vendors.fd2d2a3c.js:22:55537)
  at async Ge(/protonaosp-install/js/chunk-vendors.fd2d2a3c.js:22:64445)
  at async rn.flashFactoryZip(/protonaosp-install/js/chunk-vendors.fd2d2a3c.js:22:71271)

This should be handled better, e.g. by providing an option to delete the corrupted blob and retry the download.