From bb505e5841ebedf70b1c8f0843cdf13946970804 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Wed, 8 Jan 2020 23:43:15 +0100 Subject: [PATCH] Modifing the lib path and adding a start script in bash for linux systems --- Kyoo/InternalAPI/Transcoder/TranscoderAPI.cs | 2 +- kyoo.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 kyoo.sh diff --git a/Kyoo/InternalAPI/Transcoder/TranscoderAPI.cs b/Kyoo/InternalAPI/Transcoder/TranscoderAPI.cs index e2a66594..27c13f31 100644 --- a/Kyoo/InternalAPI/Transcoder/TranscoderAPI.cs +++ b/Kyoo/InternalAPI/Transcoder/TranscoderAPI.cs @@ -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(); diff --git a/kyoo.sh b/kyoo.sh new file mode 100644 index 00000000..bb2c0391 --- /dev/null +++ b/kyoo.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash + +cd /opt/kyoo +dotnet Kyoo.dll