mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
Build and include the `RAHasher` binary in the Docker image, to
calculate hashes for RetroAchievements. Also, add a service to
run `RAHasher` from Python.
Example usage:
```python
from adapters.services.rahasher import RAHasherError, RAHasherService
rahasher = RAHasherService()
try:
hash = await rahasher.calculate_hash("nes", Path("path/to/rom.nes"))
except RAHasherError:
# Handle error
hash = None
```
0 lines
0 B
Python
0 lines
0 B
Python
The file is empty.