- Simulation 기초
This commit is contained in:
15
Util.cs
15
Util.cs
@@ -133,5 +133,20 @@ namespace AutoSellerNS
|
||||
|
||||
return strPath;
|
||||
}
|
||||
|
||||
public static string GetSimulationPath()
|
||||
{
|
||||
string strPath = "";
|
||||
if(IsDebugging())
|
||||
strPath = Path.GetDirectoryName(Path.GetDirectoryName(Directory.GetCurrentDirectory()));
|
||||
else
|
||||
strPath = Directory.GetCurrentDirectory();
|
||||
strPath += "/simulation";
|
||||
|
||||
if(Directory.Exists(strPath) == false)
|
||||
Directory.CreateDirectory(strPath);
|
||||
|
||||
return strPath;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user