Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新版本1.x兆的exe,都是zip又打一次包的?? #119

Closed
Justsoos opened this issue Apr 25, 2018 · 8 comments
Closed

最新版本1.x兆的exe,都是zip又打一次包的?? #119

Justsoos opened this issue Apr 25, 2018 · 8 comments

Comments

@Justsoos
Copy link

win 10下载下来zip打开后,再

File .\annie.exe
.\annie.exe: Zip archive data, at least v2.0 to extract

压缩率97%
这是啥高科技? 还得再解压这 annie.exe 文件一次,能用。

ubuntu下更奇怪,

file ./annie
./annie: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped

不能用
https://github.com/iawia002/annie/releases/tag/0.6.8

@iawia002
Copy link
Owner

iawia002 commented Apr 25, 2018

我不确定是 Goreleaser 的问题还是 upx 压缩的问题,我测过 mac 的,没问题

@iawia002
Copy link
Owner

@Justsoos 能帮忙试一下这两个新包吗

annie_0.6.9_Windows_64-bit.zip
annie_0.6.9_Linux_64-bit.tar.gz

@iawia002
Copy link
Owner

下面的是未压缩版本的

annie_0.6.9_Linux_64-bit.tar.gz
annie_0.6.9_Windows_64-bit.zip

@Justsoos
Copy link
Author

annie_0.6.9_Windows_64-bit.zip 可用,0.6.8

file annie.exe
annie.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows

.\annie.exe -v
annie: version 0.6.8, A fast, simple and clean video downloader.

annie_0.6.9_Linux_64-bit.tar.gz ubuntu不可用 sha1sum: 7246310fdafe75c54b395c97b8fee3fe7a81349f

# file annie
annie: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
# ./annie
-bash: ./annie: cannot execute binary file: Exec format error

@Justsoos
Copy link
Author

未压缩版 annie_0.6.9_Linux_64-bit.tar.gz
ubuntu 可用,
sha1sum: 609d746ac1382b402ee41650407bf08847116b02
win 那个未压缩也可用

@Justsoos
Copy link
Author

补充下,sha1 都是对最原始的 annie 文件进行。压缩包用 winrar 测,没有发现错误。

@iawia002
Copy link
Owner

@Justsoos 感谢测试

看来是 upx 压缩的 bug,或者我们用的姿势不对

@Justsoos
Copy link
Author

microsoft/WSL#330
找到了,是 upx 和 wsl 兼容问题bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants