diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-04-05 17:13:47 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-04-05 17:13:47 -0500 |
| commit | 7f2cc8a2270340a17a46366e200fe832fd5137c1 (patch) | |
| tree | 6f4d9e8234f40cd9a97bd31f10921766bc0dc2b8 | |
| parent | 4b56b8eb282a9a32408b2b02c0e758f7bea23af2 (diff) | |
| download | slskd-7f2cc8a2270340a17a46366e200fe832fd5137c1.tar.gz | |
ensure file exists if specified
| -rw-r--r-- | src/slskd/Core/Options.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 22963eba..cc662444 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1537,6 +1537,7 @@ namespace slskd [Argument(default, "slsk-picture")] [EnvironmentVariable("SLSK_PICTURE")] [Description("user picture for the Soulseek network")] + [FileExists(FileAccess.Read)] public string Picture { get; init; } = null; /// <summary> |
