XF 2.0 How to generate hashes.json checkfile?


today i planned writing an addon, but i do not understand how to write an checksum like this?

"src/XF/Alert/User.php": "05a3d3279a68d01ebd69db090525d03e4da64d57aa71d7b005e8b36c5348ed0c",
How i will be able to generate a hash on the same method like xenforo does it?

Chris D

XenForo developer
Staff member
If you're concerned about the hashes changing during development then you can just delete the hashes.json file. Otherwise the only way to generate the hashes is to build the release each time.