zyedidia / eget

Easily install prebuilt binaries from GitHub.
MIT License
954 stars 39 forks source link

Panic trying to install zip packages #18

Closed thorstenkampe closed 2 years ago

thorstenkampe commented 2 years ago
❯ eget procs-v0.11.13-x86_64-lnx.zip
procs-v0.11.13-x86_64-lnx.zip
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
main.(*ZipArchive).ReadAll(0xc000016110?)
        github.com/zyedidia/eget/archive.go:91 +0x1a8
main.(*ArchiveExtractor).Extract(0xc000028040, {0xc000600000, 0x22de88, 0x3ffe00}, 0x0)
        github.com/zyedidia/eget/extract.go:179 +0x389
main.main()
        github.com/zyedidia/eget/eget.go:327 +0xab4

This happens with the new version 1.0.0, 0.3.1 works fine.