[RombaSharp] Confirmed refresh-dats writes to db

This commit is contained in:
Matt Nadareski
2018-02-08 01:03:38 -08:00
parent c9d15eb0c2
commit 4ff5af4ffb

View File

@@ -696,8 +696,6 @@ namespace RombaSharp
int workers, int workers,
string missingSha1s) string missingSha1s)
{ {
Globals.Logger.Error("This feature is not yet implemented: refresh-dats");
// Make sure the db is set // Make sure the db is set
if (String.IsNullOrWhiteSpace(_db)) if (String.IsNullOrWhiteSpace(_db))
{ {
@@ -717,6 +715,8 @@ namespace RombaSharp
_dats = "dats"; _dats = "dats";
} }
_dats = Path.Combine(Globals.ExeDir, _dats);
// Make sure the folder exists // Make sure the folder exists
if (!Directory.Exists(_dats)) if (!Directory.Exists(_dats))
{ {