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

Suport autoupdate of multiple urls #2757

Closed
Ash258 opened this issue Nov 10, 2018 · 1 comment
Closed

Suport autoupdate of multiple urls #2757

Ash258 opened this issue Nov 10, 2018 · 1 comment

Comments

@Ash258
Copy link
Contributor

Ash258 commented Nov 10, 2018

When autoupdating manifests, binary should be able to update multiple files in manifest.

Example manifest

I have manifest with custom powershell scripts. One is main with version (for checkver) and second is just file, for which i want to calculate hashes too.

There should be option like this:

"autoupdate": {
    "url": [
        "https://gist.githubusercontent.com/Ash258/e143436e2f9183a650424d635b535e51/raw/PostInstall.ps1",
        "https://gist.githubusercontent.com/Ash258/e143436e2f9183a650424d635b535e51/raw/PostInstall.User.ps1"
    ]
}

Now when make autoupdate.url an array. Result of checkver is this (it merge both urls into one):

"url": [
    "https://gist.githubusercontent.com/Ash258/e143436e2f9183a650424d635b535e51/raw/PostInstall.ps1 https://gist.githubusercontent.com/Ash258/e143436e2f9183a650424d635b535e51/raw/PostInstall.User.ps1",
    "https://gist.githubusercontent.com/Ash258/e143436e2f9183a650424d635b535e51/raw/PostInstall.User.ps1"
],
"hash": [
    "75269e9878d1b7238720b29285e0370df46afc59f14a7c51e10031613f9ffb1d",
    "75269e9878d1b7238720b29285e0370df46afc59f14a7c51e10031613f9ffb1d"
],

Now I handle it with custom checkhashes binary (#2766)

@Ash258
Copy link
Contributor Author

Ash258 commented Apr 18, 2019

Duplicate of #2176

@Ash258 Ash258 closed this as completed Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants