aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-02-14 21:34:25 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-02-14 21:34:25 -0600
commite5a75d5edd90074dc0dddda1e1b8b7d2908498d5 (patch)
treeec2add2c6ff5c6e2c2cf24e7bf440357cd75dbd0 /src
parent6480795cda835d47168adf571a90417506fcf088 (diff)
downloadslskd-e5a75d5edd90074dc0dddda1e1b8b7d2908498d5.tar.gz
use fully qualified paths for config and xml doc files
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Program.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index a29bd088..2e85de8e 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -53,7 +53,12 @@ namespace slskd
/// <summary>
/// The default configuration filename.
/// </summary>
- public static readonly string DefaultConfigurationFile = $"{AppName}.yml";
+ public static readonly string DefaultConfigurationFile = Path.Combine(AppContext.BaseDirectory, "config", $"{AppName}.yml");
+
+ /// <summary>
+ /// The default XML documentation filename.
+ /// </summary>
+ public static readonly string DefaultXmlDocumentaitonFile = Path.Combine(AppContext.BaseDirectory, "etc", $"{AppName}.xml");
/// <summary>
/// The global prefix for environment variables.