Rasagar/Library/PackageCache/com.unity.ide.rider/Rider/Editor/Util/RiderPathUtil.cs

14 lines
300 B
C#
Raw Normal View History

2024-08-26 13:07:20 -07: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));
}
}
}