mirror of
https://github.com/debpalash/VoiceStudio.git
synced 2026-12-04 01:18:16 +00:00
* fix(uninstall): refuse to delete the home directory or a parent of it OMNIVOICE_DATA_DIR and the cache overrides are honoured verbatim, so -Yes/--yes removed whatever folder they named - including \C:\Users\deryf itself. Both scripts now check each deletion target first and skip the home directory, any parent of it, and a filesystem root. * fix(uninstall): refuse an alias of the filesystem root (#4436) "/usr/.." resolves to "/", whose parent pattern "//*" matched nothing, so the guard let rm -rf receive it. Regression cases shadow rm and du on PATH, so a regressed guard still deletes nothing. --------- Co-authored-by: debpalash <4178343+debpalash@users.noreply.github.com>