Add moar to .chezmoiexternal

This commit is contained in:
Lockszmith (@kateryna) 2025-04-03 21:58:24 -04:00
parent b91082c998
commit 0cb7475cf2
1 changed files with 11 additions and 0 deletions

View File

@ -148,6 +148,17 @@
{{- end -}}
{{- end -}}
{{- with $repo := "walles/moar" -}}
{{- with $version := (gitHubLatestRelease $repo).GetTagName -}}
{{- $_ := set $externals ".local/bin/moar" (dict
"type" "file"
"url" (printf "https://github.com/%s/releases/download/%s/moar-%s-%s" $repo $version $version $myArch)
"executable" true
"refreshPeriod" $defaultRefresh
) -}}
{{- end -}}
{{- end -}}
{{/*
# valid arch strings:
# Darwin_arm64