mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-14 13:07:28 +00:00
feat: Windows and VC4 use Config directory for configuration
This commit is contained in:
parent
7d1cc3139f
commit
23afa8e025
1 changed files with 9 additions and 3 deletions
|
|
@ -61,10 +61,16 @@ namespace ICD.Common.Utils
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (IcdEnvironment.RuntimeEnvironment == IcdEnvironment.eRuntimeEnvironment.SimplSharpProMono)
|
string directoryName = "Config";
|
||||||
return Join(RootConfigPath, "ProgramConfig");
|
|
||||||
|
switch (IcdEnvironment.RuntimeEnvironment)
|
||||||
|
{
|
||||||
|
case IcdEnvironment.eRuntimeEnvironment.SimplSharp:
|
||||||
|
case IcdEnvironment.eRuntimeEnvironment.SimplSharpPro:
|
||||||
|
directoryName = string.Format("Program{0:D2}Config", ProgramUtils.ProgramNumber);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
string directoryName = string.Format("Program{0:D2}Config", ProgramUtils.ProgramNumber);
|
|
||||||
return Join(RootConfigPath, directoryName);
|
return Join(RootConfigPath, directoryName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue