diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-05-09 19:00:59 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-05-09 19:00:59 -0500 |
| commit | 0e9d1a75eb3e954829e86f20c7f64724d21e780e (patch) | |
| tree | 9d15216860cff152ff0c44e486228af72409c8b3 /src | |
| parent | 7ffc9bda6aba0556df27339ee5976f98db3b5ff0 (diff) | |
| download | slskd-0e9d1a75eb3e954829e86f20c7f64724d21e780e.tar.gz | |
mark incomplete/downloads as absolute
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 1ca5b84a..21f2c75f 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -765,6 +765,7 @@ namespace slskd [Argument(default, "incomplete")] [EnvironmentVariable("INCOMPLETE_DIR")] [Description("path where incomplete downloads are saved")] + [AbsolutePath] [DirectoryExists(ensureWriteable: true)] [RequiresRestart] public string Incomplete { get; init; } = Program.DefaultIncompleteDirectory; @@ -775,6 +776,7 @@ namespace slskd [Argument('o', "downloads")] [EnvironmentVariable("DOWNLOADS_DIR")] [Description("path where downloaded files are saved")] + [AbsolutePath] [DirectoryExists(ensureWriteable: true)] [RequiresRestart] public string Downloads { get; init; } = Program.DefaultDownloadsDirectory; |
