Firstborn/Library/PackageCache/com.unity.ide.rider@3.0.16/Rider/Editor/Util/RiderPathUtil.cs

14 lines
300 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using System.IO;
namespace Rider.Editor.Util
{
internal static class RiderPathUtil
{
public static bool IsRiderDevEditor(string editorPath)
{
if (editorPath == null)
return false;
return "rider-dev".Equals(Path.GetFileNameWithoutExtension(editorPath));
}
}
}