Config and project tweaks, plus publish script

This commit is contained in:
Casper Sparre 2025-03-08 14:45:25 +01:00
parent 681c4760db
commit f27cf908d5
4 changed files with 27 additions and 1 deletions

View File

@ -5,5 +5,12 @@ root = true
charset = utf-8
indent_style = space
indent_size = 4
tab_width = 4
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{sln,csproj,xml,json,config}]
indent_size = 2
indent_style = space
tab_width = 2

2
.gitignore vendored
View File

@ -368,3 +368,5 @@ FodyWeavers.xsd
# Allow node_modules inside custom actions
!.gitea-actions/**/node_modules/
Publish/

View File

@ -7,6 +7,13 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ApplicationIcon>Icon\download.ico</ApplicationIcon>
<LangVersion>12</LangVersion>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
</PropertyGroup>
<PropertyGroup>
<NoWarn>CS0168;CS0219;CS0472;CS1998;CS8073;CS8600;CS8602;CS8603;CS8604;CS8605;CS8613;CS8618;CS8622;CS8625;CS8629;SYSLIB0021;AsyncFixer01;AsyncFixer02</NoWarn>
</PropertyGroup>
<ItemGroup>
@ -38,12 +45,15 @@
<ItemGroup>
<None Update="auth.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</None>
<None Update="config.conf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</None>
<None Update="rules.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</None>
</ItemGroup>

7
Publish_OF-DL.bat Normal file
View File

@ -0,0 +1,7 @@
@ECHO OFF
ECHO.
dotnet publish ".\OF DL\OF DL.csproj" -o ".\Publish"
ECHO.
PAUSE