diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-05-03 17:53:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 17:53:30 -0500 |
| commit | a87b58ae5d09a127f7d5eb5d1908a3f083dfe1f7 (patch) | |
| tree | 6739f38224a4e5f649092fdd3cc6f3772b7d0270 /src/slskd/Core | |
| parent | 207a645006f75a0fb96f2a1b6a72017f94d42c80 (diff) | |
| parent | 7b99d3339154972eed0f04beef5a91678e5a0efb (diff) | |
| download | slskd-a87b58ae5d09a127f7d5eb5d1908a3f083dfe1f7.tar.gz | |
Merge branch 'master' into migrations
Diffstat (limited to 'src/slskd/Core')
| -rw-r--r-- | src/slskd/Core/Options.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 870a1e83..1fed70f5 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1540,6 +1540,15 @@ namespace slskd public string Description { get; init; } = "A slskd user. https://github.com/slskd/slskd"; /// <summary> + /// Gets the file path for the user's profile picture. + /// </summary> + [Argument(default, "slsk-picture")] + [EnvironmentVariable("SLSK_PICTURE")] + [Description("user picture for the Soulseek network")] + [FileExists(FileAccess.Read)] + public string Picture { get; init; } = null; + + /// <summary> /// Gets the local IP address on which to listen for incoming connections. /// </summary> [Argument(default, "slsk-listen-ip-address")] |
