I use Mojave with Dashboard switched on. I downloaded a dashboard widget file and edited a html file inside it by "showing package contents". I just wanted to change the font size of some text and did that in the HTML file. But after saving the file and trying to install the widget MacOS shows an error "This package has an error and needs to be moved to trash".
Is there a way to install a third party widget after changing a file in it?