-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Scoop doesn't extract .tar.* archives fully #3080
Comments
@Calinou, it seems that extraction should work. Double extraction logic is already there: https://github.com/lukesampson/scoop/blob/2224da82f8a786b8ae9c203c67924b4c6ef2c652/lib/decompress.ps1#L24-L28 There are also a few manifests that point to |
@Calinou Is it OK or is some fix needed? |
I tried updating Scoop but can still reproduce the issue. This is the manifest I'm trying it with: {
"homepage": "https://sourceforge.net/projects/freecs-1-5/",
"description": "Free software reimplementation of Counter-Strike 1.5 running on FTEQW",
"version": "2019-01-16",
"license": "GPL-2.0-or-later",
"url": [
"https://downloads.sourceforge.net/project/freecs-1-5/freecs-bin-2019-01-16.tar.gz",
"https://downloads.sourceforge.net/project/freecs-1-5/cstrike-1.5-content.tar.gz"
],
"hash": [
"34c48ef1b300a811ebf19b975be6b43c6bb2182f780bd0718b1b1ce93ca3600b",
"71929123b9e823ca7702f5a8c9cb53db3ac5e889785b56f53343278d14def81d"
],
"notes": [
"Optional but recommended: To avoid missing assets, place an Half-Life installation's \"valve\" folder in:",
"",
"\t$persist_dir\\"
]
} Console log:
Those are files I can see in the app directory after installing (the file size matches the second file in the |
If one writes an URL to a
.tar.*
archive (such as.tar.gz
) in a manifest'surl
field, Scoop will download it but will only extract it to anxa-tmp.tar
file. To fix this, 7-zip needs to be called twice on those files, so that the.tar
is unpacked to its actual data.The text was updated successfully, but these errors were encountered: