Skip to content
Snippets Groups Projects
Commit 7b9ba650 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Simplify code for supplying commandline parameters.

parent 1005880c
No related branches found
No related tags found
No related merge requests found
......@@ -14,13 +14,8 @@ namespace ATxConfigTest
private static void Main(string[] args) {
var baseDir = AppDomain.CurrentDomain.BaseDirectory;
try {
if (args.Length > 0)
baseDir = args[0];
}
catch {
// ignored (use default value from above)
}
var configPath = Path.Combine(baseDir, "configuration.xml");
var statusPath = Path.Combine(baseDir, "status.xml");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment