codinget 000599e191 Fix series name for themes with a character subdir but no variant
Three layout depths exist under definitions/:
  series/file.json              (e.g. Megumin)
  series/character/file.json    (e.g. Rem, Ram, Beatrice, Miku)
  series/character/variant/file.json  (most themes)

Counting from the end of the path produced wrong series names for the
middle case. Always read the series as the first directory after
'definitions/' instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 17:49:50 +00:00
S
Description
No description provided
MIT 53 KiB
Languages
TypeScript 100%