ScoopInstaller_Main/bucket/clink-flex-prompt.json
2022-01-06 08:29:09 +00:00

36 lines
1.3 KiB
JSON

{
"version": "0.7",
"description": "Flexible customizable prompt for Clink",
"homepage": "https://github.com/chrisant996/clink-flex-prompt",
"license": "MIT",
"suggest": {
"Clink": "clink"
},
"url": "https://github.com/chrisant996/clink-flex-prompt/releases/download/v0.7/clink-flex-prompt-0.7.zip",
"hash": "f5148f766cc39437655b855e8399f6ace265695d9881158ba6f6f20622c91871",
"installer": {
"script": [
"if (Get-Command clink -ErrorAction SilentlyContinue) {",
" clink installscripts \"$dir\"",
"} elseif ($Env:CMDER_ROOT) {",
" & \"$Env:CMDER_ROOT\\vendor\\clink\\clink.bat\" installscripts \"$dir\"",
"} else {",
" warn 'Clink or Cmder installation not found. Please manually install these scripts.'",
"}"
]
},
"uninstaller": {
"script": [
"if (Get-Command clink -ErrorAction SilentlyContinue) {",
" clink uninstallscripts \"$dir\"",
"} elseif ($Env:CMDER_ROOT) {",
" & \"$Env:CMDER_ROOT\\vendor\\clink\\clink.bat\" uninstallscripts \"$dir\"",
"}"
]
},
"checkver": "github",
"autoupdate": {
"url": "https://github.com/chrisant996/clink-flex-prompt/releases/download/v$version/clink-flex-prompt-$version.zip"
}
}