forked from sim0n00ps/OF-DL
Config and project tweaks, plus publish script
This commit is contained in:
parent
be9e4929e9
commit
9f4dbccc02
@ -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
|
||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -367,4 +367,6 @@ FodyWeavers.xsd
|
||||
/OF DL/device_private_key
|
||||
|
||||
# Allow node_modules inside custom actions
|
||||
!.gitea-actions/**/node_modules/
|
||||
!.gitea-actions/**/node_modules/
|
||||
|
||||
Publish/
|
||||
|
@ -7,8 +7,15 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<ApplicationIcon>Icon\download.ico</ApplicationIcon>
|
||||
<LangVersion>12</LangVersion>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<SelfContained>true</SelfContained>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<NoWarn>CS0219;CS1998;CS8073;CS8600;CS8602;CS8603;CS8604;CS8605;CS8613;CS8618;CS8625;CS8629;SYSLIB0021;AsyncFixer01;AsyncFixer02</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="Icon\download.ico" />
|
||||
</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
7
Publish_OF-DL.bat
Normal file
@ -0,0 +1,7 @@
|
||||
@ECHO OFF
|
||||
|
||||
ECHO.
|
||||
dotnet publish ".\OF DL\OF DL.csproj" -o ".\Publish"
|
||||
|
||||
ECHO.
|
||||
PAUSE
|
Loading…
x
Reference in New Issue
Block a user