From 4d3603d5eb4509ed11ac36d227fcc2daf30a0f61 Mon Sep 17 00:00:00 2001 From: DarkRRb <177549718+DarkRRb@users.noreply.github.com> Date: Wed, 23 Oct 2024 18:13:35 +0800 Subject: [PATCH] Update LagrangeAppBuilder.cs --- Lagrange.OneBot/LagrangeAppBuilder.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lagrange.OneBot/LagrangeAppBuilder.cs b/Lagrange.OneBot/LagrangeAppBuilder.cs index 6338bfbd5..11bb6e864 100644 --- a/Lagrange.OneBot/LagrangeAppBuilder.cs +++ b/Lagrange.OneBot/LagrangeAppBuilder.cs @@ -155,7 +155,8 @@ public LagrangeAppBuilder ConfigureOneBot() if (!isFirstCreate && hasFirstIndex) { db.Dispose(); // Ensure that the database is written correctly - logger.LogInformation("Indexing Complete! Please restart the program manually!"); + logger.LogInformation("Indexing Complete! Press any key to close and restart the program manually!"); + Console.ReadKey(true); Environment.Exit(0); } return db;