Add TShock.Installer to download dotnet runtime

This will include a new ./TShock.Installer executable that will be for users without the dotnet runtime. This program will download the dotnet runtime, extract it, and then run ./TShock.Server for them using the downloaded runtime.

Note: only tested on osx, likely a no-go for linux/windows until more testing occurs.
This commit is contained in:
Luke 2022-11-17 00:27:14 +10:00
parent 5d84192624
commit 45a378b0f0
4 changed files with 136 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>5.0.0</Version>
<PublishTrimmed>true</PublishTrimmed>
<AssemblyName>TShock.Installer</AssemblyName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SharpZipLib" Version="1.4.1" />
</ItemGroup>
</Project>