mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 23:29:46 +00:00
14 lines
446 B
C#
14 lines
446 B
C#
using Daybreak.Shared.Services.UMod;
|
|
using Daybreak.Shared.Utils;
|
|
|
|
namespace Daybreak.Linux.Services.UMod;
|
|
|
|
/// <summary>
|
|
/// Linux implementation - converts native Linux paths to Wine-compatible paths (Z:\...)
|
|
/// since gMod.dll reads the modlist from inside the Wine process.
|
|
/// </summary>
|
|
public sealed class ModPathResolver : IModPathResolver
|
|
{
|
|
public string ResolveForModLoader(string nativePath) => PathUtils.ToWinePath(nativePath);
|
|
}
|