fredi-68 / Ram

ProtOS Discord Bot (Codename: Ram) DISCLAIMER: This repository is a mirror of my local network source control. Information may or may not be inaccurate. Updates only whenever I can be bothered.
0 stars 0 forks source link

Use ctypes.util.find_libary on linux/unix systems to load opus #26

Closed fredi-68 closed 6 years ago

fredi-68 commented 6 years ago

In fact, make this the default behavior if the config file does not specify a library path. The current implementation doesn't work particularly well on linux/unix and the solution (using ctypes.util.find_library to locate the shared library, then copy the path into the config file) leads to some confusion for the user.

fredi-68 commented 6 years ago

Implemented fix