Skip to content

Commit

Permalink
Fix start from Windows search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisFeline committed Nov 14, 2024
1 parent ffa7b52 commit 43ebed1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ internal static bool ContainsArg(string arg) {
[STAThread]
static void Main(string[] args)
{
Directory.SetCurrentDirectory(ProgramDirectory);
Logger.Log("Initializing logging.");

Arguments = args;
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;
Expand Down

0 comments on commit 43ebed1

Please sign in to comment.