From 45a29b5a3f76d0321dd27a0e360d879f425f3d4d Mon Sep 17 00:00:00 2001
From: kalilistic <35899782+kalilistic@users.noreply.github.com>
Date: Sun, 30 Jun 2024 16:30:28 -0400
Subject: [PATCH] chore: update to apiX
---
Dalamud.Loc.Test/Dalamud.Loc.Test.csproj | 10 ++++++----
Dalamud.Loc/Dalamud.Loc.csproj | 11 ++++++-----
Dalamud.Loc/Localization.cs | 4 ++--
3 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/Dalamud.Loc.Test/Dalamud.Loc.Test.csproj b/Dalamud.Loc.Test/Dalamud.Loc.Test.csproj
index 6cdfa4e..4941d80 100644
--- a/Dalamud.Loc.Test/Dalamud.Loc.Test.csproj
+++ b/Dalamud.Loc.Test/Dalamud.Loc.Test.csproj
@@ -9,6 +9,7 @@
true
false
1591
+ $(DALAMUD_HOME)
@@ -33,10 +34,11 @@
-
- $(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll
- /home/runner/Dalamud/Dalamud.dll
-
+
+ $(DALAMUD_HOME)\Dalamud.dll
+ $(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll
+ /home/runner/Dalamud/Dalamud.dll
+
$(AppData)\XIVLauncher\addon\Hooks\dev\Newtonsoft.Json.dll
/home/runner/Dalamud/Newtonsoft.Json.dll
diff --git a/Dalamud.Loc/Dalamud.Loc.csproj b/Dalamud.Loc/Dalamud.Loc.csproj
index 392d08d..1712783 100644
--- a/Dalamud.Loc/Dalamud.Loc.csproj
+++ b/Dalamud.Loc/Dalamud.Loc.csproj
@@ -43,11 +43,12 @@
-
- $(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll
- /home/runner/Dalamud/Dalamud.dll
- False
-
+
+ $(DALAMUD_HOME)\Dalamud.dll
+ $(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll
+ /home/runner/Dalamud/Dalamud.dll
+ False
+
$(AppData)\XIVLauncher\addon\Hooks\dev\Newtonsoft.Json.dll
/home/runner/Dalamud/Newtonsoft.Json.dll
diff --git a/Dalamud.Loc/Localization.cs b/Dalamud.Loc/Localization.cs
index 5fb64cd..660639f 100644
--- a/Dalamud.Loc/Localization.cs
+++ b/Dalamud.Loc/Localization.cs
@@ -19,7 +19,7 @@ public class Localization : ILocalization
{
// ReSharper disable once CollectionNeverQueried.Local
private readonly Dictionary> strings = new ();
- private readonly DalamudPluginInterface? pluginInterface;
+ private readonly IDalamudPluginInterface? pluginInterface;
private readonly HttpClient httpClient;
private readonly Dictionary languageCodes = new ();
private Language currentLanguage;
@@ -29,7 +29,7 @@ public class Localization : ILocalization
///
/// Dalamud plugin interface.
/// httpClient (will init if not passed).
- public Localization(DalamudPluginInterface? pluginInterface = null, HttpClient? httpClient = null)
+ public Localization(IDalamudPluginInterface? pluginInterface = null, HttpClient? httpClient = null)
{
if (pluginInterface != null)
{