Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update LagrangeAppBuilder.cs
Browse files Browse the repository at this point in the history
DarkRRb authored Oct 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 992a1a8 commit 4d3603d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lagrange.OneBot/LagrangeAppBuilder.cs
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 4d3603d

Please sign in to comment.