- Updater checks git.mbm.wtf every 6 h (and on demand) for a newer <Version> on main, shows the new commits and the required mod version - Install: download the source, build it with dotnet publish into data/app/current, warn players and restart (exit code 75 for Docker/systemd, self-relaunch on Windows). At startup a newer installed update is loaded in its own AssemblyLoadContext; after 3 failed starts the built-in version runs - Panel: Update page, sidebar badge, full-screen progress overlay (download, build, install, restart) that survives the restart and reloads the panel - Panel sessions survive restarts (hashed tokens in data/panel_sessions.json) - Docker image is based on the .NET SDK so it can build updates - Version 2.9.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>disable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<RootNamespace>MSCO.Server</RootNamespace>
|
|
<AssemblyName>MSCO.Server</AssemblyName>
|
|
<Version>2.9.0</Version>
|
|
<Company>MBM</Company>
|
|
<Product>MSCO Dedicated Server</Product>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<!-- Symbol der .exe (Windows) -->
|
|
<ApplicationIcon>logo.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Web-Panel (Kestrel) -->
|
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
|
<EmbeddedResource Include="Panel/index.html" LogicalName="panel.index.html" />
|
|
<EmbeddedResource Include="Panel/app.js" LogicalName="panel.app.js" />
|
|
<EmbeddedResource Include="Panel/i18n.js" LogicalName="panel.i18n.js" />
|
|
<EmbeddedResource Include="Panel/app.css" LogicalName="panel.app.css" />
|
|
<EmbeddedResource Include="Panel/logo.png" LogicalName="panel.logo.png" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Tests sind ein eigenes Projekt im Ordner Tests -->
|
|
<Compile Remove="Tests/**" />
|
|
<None Remove="Tests/**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="SharpCompress" Version="0.50.4" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|