Skip to content

Commit

Permalink
Fixed possible sqlite crash on single file publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kokolihapihvi committed Oct 8, 2023
1 parent 9b5dfba commit 9ec2f34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RockSniffer/Addons/Storage/SQLiteStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public SQLiteStorage()
{
SQLiteConnection.CreateFile("addonstorage.sqlite");
}


Environment.SetEnvironmentVariable("SQLite_ConfigureDirectory", ".");
Connection = new SQLiteConnection("Data Source=addonstorage.sqlite;");
Connection.Open();
}
Expand Down

0 comments on commit 9ec2f34

Please sign in to comment.