Unity-Package-Sample icon indicating copy to clipboard operation
Unity-Package-Sample copied to clipboard

init script renames files BEFORE renaming contents and fails

Open SimonDarksideJ opened this issue 3 years ago • 0 comments

~If the init script runs, it successfully renames all the folders. However, it does this before the text replacement of all the namespaces and files. So after running the folder structure and file names are correct. However, the contents are unchanged~

After writing a powershell version of the script, I see the issue is not with doing things in the wrong order but because the "." characters are not escaped for the file renames.

Submitted PR #3 with a powershell variant of the script which does not have this issue.

SimonDarksideJ avatar Oct 18 '20 14:10 SimonDarksideJ