mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatabaseTools] Make sure sqlite files only created in exe folder
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user