mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
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 |
||
|---|---|---|
| .. | ||
| config | ||
| docs | ||
| src | ||
| .gitignore | ||
| build.sh | ||