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) {