diff --git a/Tracer.cs b/Tracer.cs index 8ab4550..03e01b4 100644 --- a/Tracer.cs +++ b/Tracer.cs @@ -67,7 +67,7 @@ internal static class Tracer /// /// Determines the appropriate output directory based on the given directory path. /// In DEBUG mode, it always returns the current working directory. - /// In release mode, it returns the provided directory unless it contains a '/', in which case it defaults to the current directory. + /// In release mode, it returns the provided directory unless it contains a "/.", in which case it defaults to the current directory. /// /// The directory path to evaluate. /// The resolved output directory as a string. @@ -78,7 +78,7 @@ internal static class Tracer #if DEBUG return curDir; #else - if (dir.Contains("/")) + if (dir.Contains("/.")) return curDir; return dir; diff --git a/config.toml.sample b/config.toml.sample index 2fe4c1e..52d781c 100644 --- a/config.toml.sample +++ b/config.toml.sample @@ -1,4 +1,4 @@ -path = "/" +path = "/." file = "example.json" communities = [ "Games",