Better Workaround for the still fucked up PDFKit problem on MacOS

So I had written here about the problem with PDFKit under MacOS and shown how to get an deploy an alternative version of PDFKit which fixes the problem. Unfortunately, that makes Preview no longer work with PDF files, which is why I had also supplied there a script for switching back and forth between different versions of PDFKit. What’s really missing, though, is to have that process automated. I’ve written a solution for that and put it on GitHub. Feel free to use it.