ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
21.24k stars 1.41k forks source link

[Bug] Error, if depends is a empty string #4817

Closed tkit1994 closed 2 years ago

tkit1994 commented 2 years ago

Bug Report

Current Behavior

PS D:\Applications\Scoop\buckets\tkit\bucket> scoop install .\HearthstoneDeckTracker.json
Couldn't find manifest for ''.

Expected Behavior

Additional context/output

Possible Solution

System details

Windows version: [e.g. 7, 8, 10]

OS architecture: [e.g. 32bit, 64bit]

PowerShell version: [output of "$($PSVersionTable.PSVersion)"]

Additional software: [(optional) e.g. ConEmu, Git]

Scoop Configuration

//# Your configuration here
{
    "version": "1.17.7",
    "description": "Hearthstone Deck Tracker is an automatic deck tracker and deck manager for Hearthstone.",
    "homepage": "https://hsreplay.net/",
    "license": "Freeware",
    "notes": "",
    "depends": "",
    "url": "https://github.com/HearthSim/Hearthstone-Deck-Tracker/releases/download/v1.17.7/Hearthstone.Deck.Tracker-v1.17.7.zip",
    "hash": "54ad0c5205b6dd410d5ce0e78278271de48ba398cab1453071e5f7d874588609",
    "bin": "Hearthstone Deck Tracker.exe",
    "extract_dir": "Hearthstone Deck Tracker",
    "shortcuts": [
        [
            "Hearthstone Deck Tracker.exe",
            "Hearthstone Deck Tracker"
        ]
    ],
    "persist": "Plugins",
    "checkver": {
        "github": "https://github.com/HearthSim/Hearthstone-Deck-Tracker"
    },
    "autoupdate": {
        "url": "https://github.com/HearthSim/Hearthstone-Deck-Tracker/releases/download/v$version/Hearthstone.Deck.Tracker-v$version.zip"
    }
}
rashil2000 commented 2 years ago

Why add depends field if it's empty?

brandonaut commented 2 years ago

depends is added automatically when scoop create is used.

rashil2000 commented 2 years ago

It adds a bunch of example fields, which you need to modify/remove as per your requirement