server publish.sh

This commit is contained in:
Timerix22 2024-01-06 22:44:06 +06:00
parent 88387461c9
commit 4f0f85d681
2 changed files with 4 additions and 7 deletions

View File

@ -1,12 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>12</LangVersion>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<OutputType>Exe</OutputType>
<RootNamespace>launcher_server</RootNamespace>
<AssemblyName>minecraft-launcher-server</AssemblyName>
<ApplicationIcon>launcher.ico</ApplicationIcon>
<DebugType>embedded</DebugType>
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DTLib.Dtsod" Version="1.3.1" />

View File

@ -1,7 +1 @@
dotnet publish -c Release -o bin/publish \
-p:PublishSingleFile=true \
-p:PublishTrimmed=true \
-p:TrimMode=partial \
-p:EnableCompressionInSingleFile=true \
-p:InvariantGlobalization=true \
-p:DebugType=embedded
dotnet publish -c Release -o bin/publish