Skip to content

Commit

Permalink
Fixed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
EX3exp committed Oct 1, 2024
1 parent 6b3fcb0 commit 3eea5cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Mirivoice.Desktop/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ public static void Main(string[] args)
try
{
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
InitLogging();
InitMirivoice();
InitLogging();

BuildAvaloniaApp().StartWithClassicDesktopLifetime(args);
}
catch (Exception e)
Expand Down
2 changes: 1 addition & 1 deletion Mirivoice/Mirivoice.Core/Managers/PathManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class PathManager
public bool HomePathIsAscii { get; private set; }
public bool IsInstalled { get; private set; }

public string LogFilePath => Path.Combine(DataPath, "Logs", "log.txt");
public string LogFilePath => Path.Combine(RootPath, "Logs", "log.txt");
public string VoicerPath => Path.Combine(RootPath, "Voicers");
public string AssetsPath => Path.Combine(RootPath, "Assets");

Expand Down

0 comments on commit 3eea5cf

Please sign in to comment.