Singularity/Library/PackageCache/com.unity.collab-proxy@2.0.3/Editor/PlasticSCM/Configuration/ToolConfig.cs

27 lines
640 B
C#
Raw Normal View History

2024-05-06 14:45:45 -04:00
using System.IO;
using Codice.Utils;
namespace Unity.PlasticSCM.Editor.Configuration
{
internal static class ToolConfig
{
internal static string GetUnityPlasticLogConfigFile()
{
return GetConfigFilePath(LOG_CONFIG_FILE);
}
static string GetConfigFilePath(string configfile)
{
string file = Path.Combine(ApplicationLocation.GetAppPath(), configfile);
if (File.Exists(file))
return file;
return UserConfigFolder.GetConfigFile(configfile);
}
const string LOG_CONFIG_FILE = "unityplastic.log.conf";
}
}