mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +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
|
|
@ -60,7 +60,7 @@ public static class ImGuiClip
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Draws the enumerable data with <see cref="itemsPerLine"/> number of items per line.
|
||||
/// Draws the enumerable data with <paramref name="itemsPerLine"/> number of items per line.
|
||||
/// </summary>
|
||||
/// <param name="data">Enumerable containing data to draw.</param>
|
||||
/// <param name="draw">The function to draw a single item.</param>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,9 @@ public class ScopedPluginLogService : IServiceType, IPluginLog, IDisposable
|
|||
set => this.levelSwitch.MinimumLevel = value;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <summary>
|
||||
/// Gets a logger that may be exposed to plugins some day.
|
||||
/// </summary>
|
||||
public ILogger Logger { get; }
|
||||
|
||||
/// <inheritdoc />
|
||||
|
|
|
|||
|
|
@ -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