Send a message to Tauri on stdout when the server was started

This commit is contained in:
Thorsten Sommer 2024-05-12 14:32:34 +02:00
parent a45d162d2a
commit 5ca529be9e
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -50,4 +50,7 @@ app.UseAntiforgery();
app.MapRazorComponents<App>() app.MapRazorComponents<App>()
.AddInteractiveServerRenderMode(); .AddInteractiveServerRenderMode();
app.Run(); var serverTask = app.RunAsync();
Console.WriteLine("RUST/TAURI SERVER STARTED");
await serverTask;