ScoopInstaller / Scoop

A command-line installer for Windows.

Home Page:https://scoop.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Allow $version to be specified in 'shortcuts' field.

milnak opened this issue · comments

commented

Feature Request

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

Currently there's no way to use $version in shortcuts. An app I use has the exe named 'SYNTHTRIBE V2.7.4.exe".

Describe the solution you'd like

Would be nice to have:

"shortcuts": [
    [
        "SYNTHTRIBE V$version.exe",
        "SYNTHTRIBE"
    ]
],

Describe alternatives you've considered

I've worked around this by creating a pre_install that renames '*.exe' to a constant name.

It could be, please add shortcuts field in autoupdate.

commented

Are you saying that this already should work? If so, I'll try it.

Yes, it already works now.

commented

Thanks! Verified with:

"autoupdate": {
    "url": ...,
    "extract_dir": ...,
    "shortcuts": [
        [
            "SYNTHTRIBE_$version.exe",
            "SYNTHTRIBE"
        ]
    ]
}