diff --git a/.editorconfig b/.editorconfig index b3672fd..ba94cee 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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 diff --git a/.gitignore b/.gitignore index cf6fd9f..4d9cd51 100644 --- a/.gitignore +++ b/.gitignore @@ -367,4 +367,6 @@ FodyWeavers.xsd /OF DL/device_private_key # Allow node_modules inside custom actions -!.gitea-actions/**/node_modules/ \ No newline at end of file +!.gitea-actions/**/node_modules/ + +Publish/ diff --git a/OF DL/OF DL.csproj b/OF DL/OF DL.csproj index 8b35a6e..152c148 100644 --- a/OF DL/OF DL.csproj +++ b/OF DL/OF DL.csproj @@ -7,8 +7,15 @@ enable enable Icon\download.ico + 12 + true + true + + CS0168;CS0219;CS0472;CS1998;CS8073;CS8600;CS8602;CS8603;CS8604;CS8605;CS8613;CS8618;CS8622;CS8625;CS8629;SYSLIB0021;AsyncFixer01;AsyncFixer02 + + @@ -38,12 +45,15 @@ Always + true Always + true Always + true diff --git a/Publish_OF-DL.bat b/Publish_OF-DL.bat new file mode 100644 index 0000000..f2e93fb --- /dev/null +++ b/Publish_OF-DL.bat @@ -0,0 +1,7 @@ +@ECHO OFF + +ECHO. +dotnet publish ".\OF DL\OF DL.csproj" -o ".\Publish" + +ECHO. +PAUSE \ No newline at end of file