Snapshot for release 2026.10.6.1 (internal 1cbe514)
This commit is contained in:
parent
913a2a00b6
commit
abf9146a5b
93 changed files with 10168 additions and 597 deletions
27
tools/EngineSettingsTests/EngineSettingsTests.csproj
Normal file
27
tools/EngineSettingsTests/EngineSettingsTests.csproj
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<!--
|
||||
Offline checks for saving engine.json (2026-10-05; idea from Silentkelpie, rynth PR #1):
|
||||
src\RynthCore.Engine\Plugins\EngineSettings.cs and EngineSettingsFile.cs, compiled in, with a
|
||||
stub RynthLog. A save keeps every key the engine doesn't own (the launcher's) exactly as it
|
||||
was, writes the engine's own keys as before, swaps the file in atomically (no temp file left),
|
||||
and leaves an unreadable engine.json alone instead of overwriting it. The real EngineSettings
|
||||
runs in a child process of this test (its settings path is read once per process), pointed at
|
||||
a temp file with RYNTHCORE_ENGINE_SETTINGS. Never touches %APPDATA%\RynthCore.
|
||||
Run: dotnet run -c Release (exit 0 = pass, 1 = fail)
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<RootNamespace>EngineSettingsTests</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\src\RynthCore.Engine\Plugins\EngineSettings.cs" Link="Engine\EngineSettings.cs" />
|
||||
<Compile Include="..\..\src\RynthCore.Engine\Plugins\EngineSettingsFile.cs" Link="Engine\EngineSettingsFile.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Loading…
Reference in a new issue