add `stu` to .chezmoiexternal
This commit is contained in:
parent
c8d2cf1869
commit
3779143bb6
|
@ -123,6 +123,17 @@
|
|||
"refreshPeriod" $defaultRefresh
|
||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||
|
||||
{{- with $app_name := "stu" -}}
|
||||
{{- with $repo := (printf "%s/%s" "lusingander" $app_name) -}}
|
||||
{{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}}
|
||||
{{- $_ := set $externals (printf ".local/bin/%s" $app_name) (dict
|
||||
"type" "archive-file"
|
||||
"url" (printf "https://github.com/%s/releases/download/v%s/%s-%s-%s.tar.gz" $repo $version $app_name $version $myArch)
|
||||
"path" (printf "%s" $app_name)
|
||||
"executable" true
|
||||
"refreshPeriod" $defaultRefresh
|
||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||
|
||||
{{- if (eq .chezmoi.os "linux") -}}
|
||||
{{- $_ := set $externals ".local/bin/broot" (dict
|
||||
"type" "file"
|
||||
|
|
Loading…
Reference in New Issue