-
-
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
[Feature] extract_dir support nested archive path #4624
Comments
This kind of extraction will be simplified when #3502 is done. |
It's outdated and it seems not easy to use |
Do you have some more common use cases other than NSIS that use nested archives? |
See https://github.com/search?q=org%3AScoopInstaller+Expand-7zipArchive&type=code This future can help a lot. |
The most use cases are NSIS installer (app-32, app-64), others like embedded |
@niheaven Any progress? |
Will check it after the upcoming release, sorry for waiting. |
bc the original app installs in Appdata/Local by default which is a lil annoying so we made a scoop app
I having problem like this one, trying to create a manifest for HyperSQL (database for java) and in zip file there is nasted folder any solution for this one even temporarily is fine |
Have you tried without the trailing slashes? i.e. |
It worked 💪🙏🏻🍻 @rashil2000 |
Feature Request
Is your feature request related to a problem? Please describe.
Some apps need to write scripts to decompress and move files many times(NSIS apps). This feature is effective to simplify the manifests.
Describe the solution you'd like
Use the symbol
!
as the separator(or any other). An example."extract_to": "app-x64.zip!\\bin"
. It will expandapp-x64.zip
and extract thebin
contains in the archive.Describe alternatives you've considered
Here is an manifest https://github.com/caoli5288/scoop-bucket/blob/master/bucket/yesplaymusic.json. I write script in
pre_install
.It can be simplified to
"extract_dir": "$PLUGINSDIR\\app-64.7z!\\"
. This is just a simple example. This feature can play more roles.The text was updated successfully, but these errors were encountered: