Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Intersect.Editor/Core/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ public static void Main(string[] args)

ApplicationContext.CurrentContext.Logger.LogTrace("Libraries unpacked.");

ApplicationContext.CurrentContext.Logger.LogTrace("Initializing SQLite...");
// Explicitly initialize SQLitePCL after extracting the native DLL
// This must happen before any SqliteConnection is created
SQLitePCL.Batteries_V2.Init();
ApplicationContext.CurrentContext.Logger.LogTrace("SQLite initialized.");

ApplicationContext.CurrentContext.Logger.LogTrace("Creating forms...");
Globals.UpdateForm = new FrmUpdate();
ApplicationContext.CurrentContext.Logger.LogTrace("Forms created.");
Expand Down
Loading