The app happily tries to copy files that are not under "sounds" and files that do not match naming rules to the target folder structure if the user chooses to "continue" when warnings for these types of files are presented.
Instead of looping through the list of acceptable files when searching for overwrites or copying the files, the application uses Path.glob("*.ogg") again, and then crashes when it tries to get the relative path to "sounds" under each file path.
The app happily tries to copy files that are not under "sounds" and files that do not match naming rules to the target folder structure if the user chooses to "continue" when warnings for these types of files are presented.
Instead of looping through the list of acceptable files when searching for overwrites or copying the files, the application uses Path.glob("*.ogg") again, and then crashes when it tries to get the relative path to "sounds" under each file path.