decompme / decomp.me

Collaborative decompilation and reverse engineering website
https://decomp.me
MIT License
376 stars 116 forks source link

Make libraries platform-specific redux #1195

Closed mkst closed 5 months ago

mkst commented 5 months ago

We know the platform when we come to use the library, so passing it in here is less intrusive than trying to give all Libraries a platform.

I've also updated the useLibraries / api/library view to support platform=xyz being passed, the alternative could be to return all libraries and then doing some filtering on the client side. This could be changed if we find ourselves with libraries supporting multiple platforms... or it could be changed now :)