Skip to content

Commit

Permalink
Fixed missing working director for agent auto-start, causing missing …
Browse files Browse the repository at this point in the history
…voice packs
  • Loading branch information
sushiat committed Dec 23, 2023
1 parent 81ffb2b commit 0850202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OpenSky.Client/Tools/AgentAutoLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static void AutoLaunchAgent()
var agentProcesses = Process.GetProcessesByName(agentExeFile.Replace(".exe", string.Empty));
if (agentProcesses.Length == 0)
{
Process.Start(agentExeLocation);
Process.Start(new ProcessStartInfo(agentExeLocation) { WorkingDirectory = Path.GetDirectoryName(agentExeLocation) ?? string.Empty });
}
}
}
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Version 0.5.9 (ALPHA5)
- Aircraft on the "My fleet" page can be selected, map highlights and tooltips added
- World map now allows selecting active flights, showing trails and flight info
- World map can toggle airports being displayed or not
- Fixed missing working director for agent auto-start, causing missing voice packs

--------------------------------------------------------------------------------------
Version 0.5.8 (ALPHA5)
Expand Down

0 comments on commit 0850202

Please sign in to comment.