mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 05:55: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
|
// Hacky solution to load libraries on Windows
|
||||||
if (FuncLoader.IsWindows)
|
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 assemblyVersionDir = Path.GetDirectoryName(Path.GetDirectoryName(assemblyLocation));
|
||||||
var version = Path.GetFileName(assemblyVersionDir);
|
var version = Path.GetFileName(assemblyVersionDir);
|
||||||
var gtkdir = Path.Combine(Path.GetDirectoryName(Path.GetDirectoryName(assemblyVersionDir)), "gtksharp");
|
var gtkdir = Path.Combine(Path.GetDirectoryName(Path.GetDirectoryName(assemblyVersionDir)), "gtksharp");
|
||||||
|
|
Loading…
Reference in a new issue