move templates to user config dir
All checks were successful
/ build-linux-amd64 (push) Successful in 1m10s

This commit is contained in:
ari melody 2026-01-31 03:10:28 +00:00
parent 34065bd06f
commit 6cafff34a8
Signed by: ari
GPG key ID: CF99829C92678188
2 changed files with 6 additions and 7 deletions

View file

@ -151,7 +151,7 @@ func main() {
}
// good to have early on
templates, err := yt.FetchTemplates()
templates, err := yt.FetchTemplates(path.Join(userConfigDir, "templates"))
if err != nil {
log.Fatalf("Failed to fetch templates: %v", err)
os.Exit(1)