mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use correct path for database.
This commit is contained in:
@@ -55,11 +55,12 @@ namespace DiscImageChef
|
||||
DicConsole.WriteEvent += System.Console.Write;
|
||||
DicConsole.ErrorWriteLineEvent += System.Console.Error.WriteLine;
|
||||
|
||||
DicContext ctx = new DicContext();
|
||||
Settings.Settings.LoadSettings();
|
||||
|
||||
DicContext ctx = DicContext.Create(Settings.Settings.DbPath);
|
||||
ctx.Database.Migrate();
|
||||
ctx.SaveChanges();
|
||||
|
||||
Settings.Settings.LoadSettings();
|
||||
if((args.Length < 1 || args[0].ToLowerInvariant() != "gui") &&
|
||||
Settings.Settings.Current.GdprCompliance < DicSettings.GdprLevel) Configure.DoConfigure(true);
|
||||
Statistics.LoadStats();
|
||||
|
||||
Reference in New Issue
Block a user