Blish-HUD
Blish-HUD copied to clipboard
Native DLL support in modules
Modules which wish to pinvoke native DLLs they bring with them have to extract them or otherwise load them from disk. This is obviously not ideal and is likely to get us flagged more by AV.
REF: https://discord.com/channels/531175899588984842/599270434642460753/889574083560374354
Some ideas include having all native DLLs listed in the manifest for extraction to a central DLL cache dir with the extracted files being tracked by hash.
Somwhat related - .NETs AssemblyLoadContexts have methods that allow altering the loading behaviour of unmanaged DLLs (docs)
I think this would still require extracting to an intermediate location as above, but the implementation work could potentially be bundled into the same change