[DatabaseTools] Make sure sqlite files only created in exe folder

This commit is contained in:
Matt Nadareski
2018-01-17 11:44:11 -08:00
parent b007868621
commit 8228b03d3e

View File

@@ -67,6 +67,7 @@ namespace SabreTools.Library.Tools
type = type.ToLowerInvariant();
// Make sure the file exists
db = Path.Combine(Globals.ExeDir, db);
if (!File.Exists(db))
{
SqliteConnection.CreateFile(db);