mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-19 14:27:45 +01:00
fix: actually use the correct path when setting up vfs, fix warnings
use paramref instead of see fix warnings
This commit is contained in:
parent
979dc825b3
commit
e9e234b340
3 changed files with 10 additions and 8 deletions
|
|
@ -41,7 +41,7 @@ public class ReliableFileStorage : IServiceType, IDisposable
|
|||
|
||||
try
|
||||
{
|
||||
this.SetupDb(vfsDbPath);
|
||||
this.SetupDb(databasePath);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -49,15 +49,15 @@ public class ReliableFileStorage : IServiceType, IDisposable
|
|||
|
||||
try
|
||||
{
|
||||
if (File.Exists(vfsDbPath))
|
||||
File.Delete(vfsDbPath);
|
||||
if (File.Exists(databasePath))
|
||||
File.Delete(databasePath);
|
||||
|
||||
this.SetupDb(databasePath);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// ignored
|
||||
// ignored, we can run without one
|
||||
}
|
||||
|
||||
this.SetupDb(vfsDbPath);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue