No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ToolConfig.cs 640B

1234567891011121314151617181920212223242526
  1. using System.IO;
  2. using Codice.Utils;
  3. namespace Unity.PlasticSCM.Editor.Configuration
  4. {
  5. internal static class ToolConfig
  6. {
  7. internal static string GetUnityPlasticLogConfigFile()
  8. {
  9. return GetConfigFilePath(LOG_CONFIG_FILE);
  10. }
  11. static string GetConfigFilePath(string configfile)
  12. {
  13. string file = Path.Combine(ApplicationLocation.GetAppPath(), configfile);
  14. if (File.Exists(file))
  15. return file;
  16. return UserConfigFolder.GetConfigFile(configfile);
  17. }
  18. const string LOG_CONFIG_FILE = "unityplastic.log.conf";
  19. }
  20. }