Prevent Deployment to Project Folder

Description of the Feature:
  • RPG Maker tests to see if you're deploying to the project folder. If you are, it throws an error and stops you.

Why is this feature good?
Every few weeks a newbie posts about how they screwed things up by deploying to their project folder.

Since there's never any reason why you'd want to do that, it would be a good idea for RPG Maker to check to see if you're trying to deploy to the project folder. If you are, it should cancel the deployment, and throw an error box up telling you not to do that.

Should be a simple change to the engine, which wouldn't cause problems for anyone, but would help prevent inexperienced people from accidentally wrecking their projects.
Sounds like it would be a very simple and helpful improvement to make! I can't imagine it would be hard for MV to know what the root path of its project folder would be, and it would stop a lot of people from borking their own project.

One possible middle ground could be a warning message that clearly says deploying to your project folder is strongly discouraged because blah blah blah. Give the user the option to say yes to that if we can think of any reason they may want to deploy it there.

I've added the standard suggestion poll to this thread. We usually like having this poll to get a sense of what the community thinks of the idea. @Restart, if you have a problem with the question or the options, you may edit it. Right - per @bgillisp's note below, please don't edit it.
Actually, slight correction to wavelength's post: Do not edit the poll as it is required for statistical analysis. Even a slight wording change will throw that off and skew the results, and will make it not able to be used or considered.
One possible middle ground could be a warning message that clearly says deploying to your project folder is strongly discouraged because blah blah blah. Give the user the option to say yes to that if we can think of any reason they may want to deploy it there.
I think from a safety measure, we don't need to bother to give a 'yes' option. If a user is advanced enough to have some weird technical gimmick they need to deploy to their project folder to manage, we can trust them to know how to deploy to a different folder and copy the files back into their project.

On the other hand a guy with no experience might click 'yes' out of rote 'ignore all warnings' training.
I think from a safety measure, we don't need to bother to give a 'yes' option. If a user is advanced enough to have some weird technical gimmick they need to deploy to their project folder to manage, we can trust them to know how to deploy to a different folder and copy the files back into their project.

On the other hand a guy with no experience might click 'yes' out of rote 'ignore all warnings' training.
You're probably right. I was thinking a complete newbie might have a hard time figuring out how to pick another path to deploy to.
Good suggestion, it should have a high ratio of benefit to effort. I can't imagine it's hard to add this check.

This will improve the user experience for all developers, especially less experienced ones (RPG Maker is supposed to be "easy enough for a child", after all)
Was just coming here to make the same suggestion, after yet another person did this and had to fix their project again.
Noted. I will try to forward.

Original thread: https://forums.rpgmakerweb.com/threads/prevent-deployment-to-project-folder.112053/