spiegel-keyman/developer
Marc Durdin 7a8fa1bf7f fix(developer): prevent new projects from overwriting existing projects
The new project UI process detects if the target project folder already
exists in a given path, and asks if the author wants to overwrite it.

However, this has been inconsistently implemented -- in the clone
keyboard case, the process would fail with a message "error KM0B004:
Output path <PATH> already exists, not overwriting". In other cases, no
files would be removed, but existing files would be overwritten where
there was a collision, resulting in a messy project folder.

I have opted to prevent this situation in a consistent manner, requiring
the author to remove the folder themselves in Windows Explorer, even
though this is higher friction, because it pushes them into verifying
that they actually want to delete the contents of the folder.

I also took the opportunity to DRY out this verification process in the
six different New Project dialogs.

Fixes: #15063
2026-03-04 05:45:21 +01:00
..
config feat(developer): add api-extractor and api-documenter and config 2024-02-26 11:37:32 +07:00
docs Update link to PrimerPrep in step-3.md 2026-01-13 17:40:33 -05:00
src fix(developer): prevent new projects from overwriting existing projects 2026-03-04 05:45:21 +01:00
.gitignore chore(developer): move server with no changes 2022-05-23 12:15:34 +10:00
build.sh maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00