XF 2.0 How to generate hashes.json checkfile?

Devil™

Member
Hello,

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?
 
And that is the question, how to manually regenerate the value, is there a simple script example avaible?
 
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.
 
Top Bottom