diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-02-13 17:02:07 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-02-13 17:02:07 -0600 |
| commit | 1744c9b2ded05a8a83874864957229a3235fb546 (patch) | |
| tree | 8d9650d86237fe511a600ae58016b1ff3de3a389 /src | |
| parent | 0c13b7b56876d799a1189a406ca23640bbc8cf76 (diff) | |
| download | slskd-1744c9b2ded05a8a83874864957229a3235fb546.tar.gz | |
move license and config
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Properties/slskd.yml (renamed from src/slskd/slskd.yml) | 0 | ||||
| -rw-r--r-- | src/slskd/Startup.cs | 2 | ||||
| -rw-r--r-- | src/slskd/slskd.csproj | 20 |
3 files changed, 12 insertions, 10 deletions
diff --git a/src/slskd/slskd.yml b/src/slskd/Properties/slskd.yml index d5519b65..d5519b65 100644 --- a/src/slskd/slskd.yml +++ b/src/slskd/Properties/slskd.yml diff --git a/src/slskd/Startup.cs b/src/slskd/Startup.cs index e806fdfd..7c71a7ec 100644 --- a/src/slskd/Startup.cs +++ b/src/slskd/Startup.cs @@ -462,7 +462,7 @@ namespace slskd Task.Run(async () => { - //await Client.ConnectAsync(Options.Soulseek.Username, Options.Soulseek.Password); + await Client.ConnectAsync(Options.Soulseek.Username, Options.Soulseek.Password); }).GetAwaiter().GetResult(); logger.Information("Connected and logged in as {Username}", username); diff --git a/src/slskd/slskd.csproj b/src/slskd/slskd.csproj index 543fadbd..7a80b5f6 100644 --- a/src/slskd/slskd.csproj +++ b/src/slskd/slskd.csproj @@ -4,6 +4,7 @@ <PackageProjectUrl>https://slskd.org</PackageProjectUrl> <Authors>slskd Team</Authors> <Copyright>Copyright (c) slskd Team</Copyright> + <PackageLicenseFile>LICENSE</PackageLicenseFile> </PropertyGroup> <PropertyGroup> @@ -12,7 +13,7 @@ <CodeAnalysisRuleSet>Properties\analysis.ruleset</CodeAnalysisRuleSet> <GenerateDocumentationFile>true</GenerateDocumentationFile> <ServerGarbageCollection>false</ServerGarbageCollection> - <PackageLicenseFile>LICENSE</PackageLicenseFile> + <IsTransformWebConfigDisabled>true</IsTransformWebConfigDisabled> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> @@ -24,19 +25,20 @@ <ItemGroup> <AdditionalFiles Include="Properties\stylecop.json" /> - <Content Include="slskd.yml"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> <Content Update="wwwroot\**\*.*"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> - <None Include="..\..\LICENSE"> - <Pack>True</Pack> - <PackagePath></PackagePath> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </None> </ItemGroup> + <Target Name="CopyAfterBuild" AfterTargets="AfterBuild"> + <Copy SourceFiles="..\..\LICENSE" DestinationFolder="$(OutDir)" /> + <Copy SourceFiles="Properties\slskd.yml" DestinationFolder="$(OutDir)" /> + </Target> + <Target Name="CopyOnPublish" AfterTargets="Publish"> + <Copy SourceFiles="..\..\LICENSE" DestinationFolder="$(PublishDir)" /> + <Copy SourceFiles="Properties\slskd.yml" DestinationFolder="$(PublishDir)" /> + </Target> + <ItemGroup> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.3" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.0.0" /> |
