webroot-installer
webroot-installer copied to clipboard
prevent installation into project folder itself
Hey Steve,
when a user uses "webroot-dir": "./" the project folder gets overwritten.
I'm reporting this, because of a StackOverflow question.
It could be useful to add a notice to the readme to document that behavior
or prevent the installation into the project folder.
Regards, Jens
Thanks for the feedback, I knew of that but haven't decided how to address it yet. I suppose documentation for now at the very least.
I should bail if something doesn't seem right, but I was thinking it may be helpful to use the Filesystem utility in LibraryInstaller or DownloadManager to warn and confirm when the target directory is not empty.