public WindowsPlatform() { var paths = new List <string> { NativeLibraryExtractor.LibraryRoot }; Registry = new NativeLibraryRegistry(paths); }
public MacPlatform() { Directory.SetCurrentDirectory(NativeLibraryExtractor.LibraryRoot); var paths = new List <string> { NativeLibraryExtractor.LibraryRoot }; Registry = new NativeLibraryRegistry(paths); }
public LinuxPlatform() { var paths = new List <string> { NativeLibraryExtractor.LibraryRoot, "/usr/lib", "/usr/local/lib" }; Registry = new NativeLibraryRegistry(paths); }
public LinuxPlatform() { // our root has to be at the end. // on linux. why? f**k if i know, // but it works that way. probably one // of the natives fails to load, and // the cascade results in renderer failing // to initialize, but that's just my humble theory var paths = new List <string> { "/lib", "/usr/lib", "/usr/local/lib", NativeLibraryExtractor.LibraryRoot }; Registry = new NativeLibraryRegistry(paths); }