From 5ca529be9e582631e6278f5b6a49d8076b9f2c53 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sun, 12 May 2024 14:32:34 +0200 Subject: [PATCH] Send a message to Tauri on stdout when the server was started --- app/MindWork AI Studio/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/MindWork AI Studio/Program.cs b/app/MindWork AI Studio/Program.cs index ad90b05..e13671a 100644 --- a/app/MindWork AI Studio/Program.cs +++ b/app/MindWork AI Studio/Program.cs @@ -50,4 +50,7 @@ app.UseAntiforgery(); app.MapRazorComponents() .AddInteractiveServerRenderMode(); -app.Run(); \ No newline at end of file +var serverTask = app.RunAsync(); + +Console.WriteLine("RUST/TAURI SERVER STARTED"); +await serverTask; \ No newline at end of file