Skip to content

Commit 43ebed1

Browse files
committed
Fix start from Windows search bar
1 parent ffa7b52 commit 43ebed1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ internal static bool ContainsArg(string arg) {
4949
[STAThread]
5050
static void Main(string[] args)
5151
{
52+
Directory.SetCurrentDirectory(ProgramDirectory);
53+
Logger.Log("Initializing logging.");
54+
5255
Arguments = args;
5356
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
5457
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;

0 commit comments

Comments
 (0)