15 lines
389 B
C#
15 lines
389 B
C#
using SPTarkov.Server.Core.Models.Spt.Mod;
|
|
|
|
namespace SPTarkov.Server.Core.Extensions
|
|
{
|
|
public static class SptModExtensions
|
|
{
|
|
public static string GetModPath(this SptMod sptMod)
|
|
{
|
|
var relativeModPath = Path.GetRelativePath(Directory.GetCurrentDirectory(), sptMod.Directory).Replace('\\', '/');
|
|
|
|
return relativeModPath;
|
|
}
|
|
}
|
|
}
|