Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: io bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 20, 2024
1 parent 7ddd01f commit 3fc7fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RotationSolver/Localization/LocalizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ private static async void SetLanguage(string lang)
#if DEBUG
private static void ExportLocalization()
{
var dirInfo = new DirectoryInfo(typeof(LocalizationManager).Assembly.Location);
dirInfo = dirInfo.Parent!.Parent!.Parent!.Parent!;
var dirInfo = Svc.PluginInterface.AssemblyLocation.Directory;
dirInfo = dirInfo?.Parent!.Parent!.Parent!.Parent!;


var directory = dirInfo.FullName + @"\Localization";
Expand Down

0 comments on commit 3fc7fa9

Please sign in to comment.