mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-22 19:05:31 +00:00
Fix hardcoded test location
This commit is contained in:
parent
b97d1fd996
commit
5a179531bb
|
@ -72,7 +72,7 @@ class GLibrary
|
|||
// Hacky solution to load libraries on Windows
|
||||
if (FuncLoader.IsWindows)
|
||||
{
|
||||
var assemblyLocation = Path.GetDirectoryName(@"C:\Users\harry\.nuget\packages\glibsharp\3.22.24.47\lib\netstandard2.0\GLibSharp.dll");
|
||||
var assemblyLocation = Path.GetDirectoryName(typeof(GLibrary).Assembly.Location);
|
||||
var assemblyVersionDir = Path.GetDirectoryName(Path.GetDirectoryName(assemblyLocation));
|
||||
var version = Path.GetFileName(assemblyVersionDir);
|
||||
var gtkdir = Path.Combine(Path.GetDirectoryName(Path.GetDirectoryName(assemblyVersionDir)), "gtksharp");
|
||||
|
|
Loading…
Reference in a new issue