-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathFilePathRepository.cs
More file actions
26 lines (20 loc) · 1.4 KB
/
Copy pathFilePathRepository.cs
File metadata and controls
26 lines (20 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.IO;
namespace ModuleManager
{
internal static class FilePathRepository
{
internal static readonly string normalizedRootPath = Path.GetFullPath(KSPUtil.ApplicationRootPath);
internal static readonly string cachePath = Path.Combine(normalizedRootPath, "GameData", "ModuleManager.ConfigCache");
internal static readonly string techTreeFile = Path.Combine("GameData", "ModuleManager.TechTree");
internal static readonly string techTreePath = Path.Combine(normalizedRootPath, techTreeFile);
internal static readonly string physicsFile = Path.Combine("GameData", "ModuleManager.Physics");
internal static readonly string physicsPath = Path.Combine(normalizedRootPath, physicsFile);
internal static readonly string defaultPhysicsPath = Path.Combine(normalizedRootPath, "Physics.cfg");
internal static readonly string partDatabasePath = Path.Combine(normalizedRootPath, "PartDatabase.cfg");
internal static readonly string shaPath = Path.Combine(normalizedRootPath, "GameData", "ModuleManager.ConfigSHA");
internal static readonly string logsDirPath = Path.Combine(normalizedRootPath, "Logs", "ModuleManager");
internal static readonly string logPath = Path.Combine(logsDirPath, "ModuleManager.log");
internal static readonly string patchLogPath = Path.Combine(logsDirPath, "MMPatch.log");
}
}