ScoopInstaller_Main/bucket/clink-completions.json
Nicolas Arnaud-Cormos 106015f805
clink-completions@0.6.2: fix clink script path (#6577)
The path installed via `clink installscripts` was different for each
version of clink-completions, creating issues as the same script was
loaded multiple times (with different version).

 This change makes the path consistent across versions, making sure only
 the latest one is loaded.

Co-authored-by: Nicolas Arnaud-Cormos <nicolas.arnaud-cormos@kdab.com>
2025-04-16 04:30:34 +00:00

36 lines
1.3 KiB
JSON

{
"version": "0.6.2",
"description": "Completions for various commands through Clink",
"homepage": "https://github.com/vladimir-kotikov/clink-completions",
"license": "MIT",
"suggest": {
"Clink": "clink"
},
"url": "https://github.com/vladimir-kotikov/clink-completions/archive/v0.6.2.zip",
"hash": "0ef7d44517423dd9b44bf3cfdaf973a2b328a5c30d1d34a48fdedc35cc25cca0",
"extract_dir": "clink-completions-0.6.2",
"installer": {
"script": [
"$luapath = Join-Path (Split-Path -Path \"$dir\" -Parent) \"current\"",
"if (Get-Command clink -ErrorAction SilentlyContinue) {",
" clink installscripts \"$luapath\"",
"} else {",
" warn 'Clink installation not found. Please manually install these scripts.'",
"}"
]
},
"uninstaller": {
"script": [
"$luapath = Join-Path (Split-Path -Path \"$dir\" -Parent) \"current\"",
"if (Get-Command clink -ErrorAction SilentlyContinue) {",
" clink uninstallscripts \"$luapath\"",
"}"
]
},
"checkver": "github",
"autoupdate": {
"url": "https://github.com/vladimir-kotikov/clink-completions/archive/v$version.zip",
"extract_dir": "clink-completions-$version"
}
}