Update thingy

This commit is contained in:
Li 2022-07-25 14:36:13 +12:00
parent dd7efc17e5
commit 64fed1c6c4
2 changed files with 2 additions and 2 deletions

View file

@ -228,7 +228,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Update="flashplayer\flash.exe"> <None Update="flashplayer\WINDOWS\flash.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
</ItemGroup> </ItemGroup>

View file

@ -56,7 +56,7 @@ namespace MPN00BS
HorseIsleClientExitCallback = callback; HorseIsleClientExitCallback = callback;
clientProcess = new Process(); clientProcess = new Process();
clientProcess.StartInfo.FileName = Path.Combine("flashplayer", "WINDOWS", "flash.exe"); clientProcess.StartInfo.FileName = Path.Combine(Directory.GetCurrentDirectory(), "flashplayer", "WINDOWS", "flash.exe");
clientProcess.StartInfo.Arguments = "http://127.0.0.1/horseisle.swf?SERVER=" + serverIp + "&PORT=" + serverPort.ToString(); clientProcess.StartInfo.Arguments = "http://127.0.0.1/horseisle.swf?SERVER=" + serverIp + "&PORT=" + serverPort.ToString();
clientProcess.StartInfo.RedirectStandardOutput = true; clientProcess.StartInfo.RedirectStandardOutput = true;