added broot

This commit is contained in:
Lockszmith (VAST@MacBook) 2025-04-17 15:57:13 -04:00
parent 3d2a1974b3
commit 1c475101d0
1 changed files with 16 additions and 0 deletions

View File

@ -337,6 +337,22 @@
"executable" true "executable" true
"refreshPeriod" $defaultRefresh "refreshPeriod" $defaultRefresh
) -}}{{- end -}}{{- end -}}{{- end -}} ) -}}{{- end -}}{{- end -}}{{- end -}}
{{- with $app_name := "broot" -}}
{{- with $bin_url := (output "sh" "-c" (
list
"cargo-binstall --log-level debug --dry-run --no-track --no-confirm --json-output"
$app_name
"| jq \".fields | select ( .message == \\\"Downloading package\\\" )\""
| join " ") | fromJson
).url
}}{{ $_ := set $externals (printf ".local/bin/%s" $app_name) (dict
"type" "archive-file"
"url" $bin_url
"path" (printf "%s" $app_name)
"executable" true
"refreshPeriod" $defaultRefresh
) -}}{{- end -}}{{- end -}}
{{- end -}} {{- end -}}
{{- $externals | toYaml -}} {{- $externals | toYaml -}}