Modifing the lib path and adding a start script in bash for linux systems

This commit is contained in:
Zoe Roux 2020-01-08 23:43:15 +01:00
parent 04beaf4c49
commit bb505e5841
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@ namespace Kyoo.InternalAPI.TranscoderLink
{
public static class TranscoderAPI
{
private const string TranscoderPath = @"/home/anonymus-raccoon/Projects/Kyoo/transcoder/cmake-build-debug/libtranscoder.so";
private const string TranscoderPath = "libtranscoder.so";
[DllImport(TranscoderPath, CallingConvention = CallingConvention.Cdecl)]
public static extern int init();

4
kyoo.sh Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/bash
cd /opt/kyoo
dotnet Kyoo.dll