mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-17 12:51:19 +00:00
tealdeer: Add version 1.5.0 (#3155)
This commit is contained in:
parent
824050f7f5
commit
a2ac9d235e
46
bucket/tealdeer.json
Normal file
46
bucket/tealdeer.json
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
"version": "1.5.0",
|
||||||
|
"description": "A very fast implementation of tldr in Rust.",
|
||||||
|
"homepage": "https://dbrgn.github.io/tealdeer",
|
||||||
|
"license": "Apache-2.0|MIT",
|
||||||
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": "https://github.com/dbrgn/tealdeer/releases/download/v1.5.0/tealdeer-windows-x86_64-msvc.exe#/tldr.exe",
|
||||||
|
"hash": "399e5ddcf600b8ae7a9629990a2943360dec01bb47bf5d9f3b90e14ff4f88ede"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pre_install": [
|
||||||
|
"$file = 'config.toml'",
|
||||||
|
"if (!(Test-Path \"$persist_dir\\$file\")) {",
|
||||||
|
" Write-Host 'File' $file 'does not exists. Creating.' -f Yellow",
|
||||||
|
" $CONT = @(",
|
||||||
|
" '[directories]'",
|
||||||
|
" \"custom_pages_dir = `\"$persist_dir\\custom-pages`\"\"",
|
||||||
|
" ) -replace '\\\\', '\\\\'",
|
||||||
|
" Set-Content \"$dir\\$file\" ($CONT -join \"`r`n\") -Encoding ASCII",
|
||||||
|
"}"
|
||||||
|
],
|
||||||
|
"env_set": {
|
||||||
|
"TEALDEER_CONFIG_DIR": "$dir",
|
||||||
|
"TEALDEER_CACHE_DIR": "$dir\\cache"
|
||||||
|
},
|
||||||
|
"bin": "tldr.exe",
|
||||||
|
"persist": [
|
||||||
|
"config.toml",
|
||||||
|
"cache",
|
||||||
|
"custom-pages"
|
||||||
|
],
|
||||||
|
"checkver": {
|
||||||
|
"github": "https://github.com/dbrgn/tealdeer"
|
||||||
|
},
|
||||||
|
"autoupdate": {
|
||||||
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": "https://github.com/dbrgn/tealdeer/releases/download/v$version/tealdeer-windows-x86_64-msvc.exe#/tldr.exe",
|
||||||
|
"hash": {
|
||||||
|
"url": "$url.sha256"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user