Commit Graph

1 Commits

Author SHA1 Message Date
Seth Hillbrand 8a45dcc921 Rename subdirectories when creating project from template
When creating a project from a template, subdirectories that match the
template project name (either exactly or with a suffix like "-dir") were
not being renamed to match the new project name. Only files were being
renamed correctly.

This fixes both GetDestinationFiles() and CreateProject() to also rename
directory names in the destination path that contain the template basename.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/22289
2026-01-06 04:56:46 -08:00