mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
...
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -110,6 +111,9 @@ func parse_theme_metadata() error {
|
||||
for _, path := range paths {
|
||||
if path != "" {
|
||||
metadata, _, err := themes.ParseThemeMetadata(path)
|
||||
if metadata.Name == "" {
|
||||
metadata.Name = themes.ThemeNameFromFileName(filepath.Base(path))
|
||||
}
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user