Skip to content

Commit

Permalink
Use AOT & wait to exit after success
Browse files Browse the repository at this point in the history
  • Loading branch information
ButterscotchV committed Feb 20, 2024
1 parent 7fa52eb commit 487a351
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion SlimeVrOta/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
throw new Exception($"Received a non-handshake packet on {port} from {endPoint}.");
}
Console.WriteLine($"Received a handshake packet on {port} from {endPoint}.");

Console.WriteLine("Press enter to flash the tracker...");
Console.ReadLine();

Expand Down Expand Up @@ -58,7 +59,10 @@
throw new Exception($"Received a non-handshake packet on {port} from {endPoint}.");
}
Console.WriteLine($"Received a handshake packet on {port} from {endPoint}.");
Console.WriteLine($"Tracker {endPoint} has been flashed successfully");

Console.WriteLine($"Tracker {endPoint} has been flashed successfully.");
Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
catch (Exception e)
{
Expand Down
1 change: 1 addition & 0 deletions SlimeVrOta/SlimeVrOta.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PublishAot>True</PublishAot>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 487a351

Please sign in to comment.