server publish.sh
This commit is contained in:
parent
88387461c9
commit
4f0f85d681
@ -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" />
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user