8000 [Feature] Add an option to skip generating file hash in `autoupdate` · Issue #6389 · ScoopInstaller/Scoop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to cont 8000 ent
[Feature] Add an option to skip generating file hash in autoupdate #6389
Open
@AkariiinMKII

Description

@AkariiinMKII

Feature Request

Is your feature request related to a problem? Please describe.

In some cases file hash of app installer change for each download, for example, teamviewer in 2022, therefore, we need an option to skip hash checking.

As for the installation, it's already able to skip hash check for a no-hash app, but not yet in autoupdate.

Describe the solution you'd like

Use a property in autoupdate to skip generating hash when updating manifest.

{
    "autoupdate": {
        "url":  "...",
        "hash": {
            "mode": "none"
        }
    }
}

or

{
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "...",
                "hash": {
                    "mode": "none"
                }
            }
            "32bit": {
                "url": "..."
            }
        }
    }
}

Describe alternatives you've considered

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0