I'm determined to make Snapper work with Discover.

I'm on Fedora, and I have a DNF hook that creates a Snapper snapshot before every DNF transaction. But Discover doesn't use DNF; it uses PackageKit.

PackageKit REMOVED the ability to use pre-transaction scripts in 2014. Discover also doesn't seem to use pkcon during transactions, since Discover can install and uninstall packages just fine after renaming /usr/bin/pkcon. I think this means that Discover interfaces with packagekitd directly.

What I would've LIKED to do is make a simple pkcon wrapper, but that's not going to get me anywhere. Is there anything I can do to integrate automatic snapshots into Discover?