Drop the update check - Steam updates the starter

The daily GitHub check, the top-bar button, the stable/staging channel and
"check now" go, with their settings and texts.
This commit is contained in:
maj00r
2026-10-04 18:46:38 +02:00
parent 6cedf8b6f6
commit 52ad490fb7
18 changed files with 0 additions and 775 deletions

View File

@@ -1,5 +1,4 @@
using System;
using System.Reflection;
using StarterNG.Application.Abstractions;
using StarterNG.Domain.Settings;
using StarterNG.Infrastructure.Adapters;
@@ -54,12 +53,6 @@ public sealed class AppServices
SettingsStore = new SettingsStore(files, clock, log, settingsPaths, new SettingsSerializer(), Executables);
MissingVehicleLog = new MissingVehicleLog(SettingsStore.Settings, MissingAssets, Library, log);
Favorites = new FavoriteSceneries(files, log, settingsPaths.FavoritesPath());
var assembly = typeof(AppServices).Assembly;
var version = assembly.GetName().Version ?? new Version(0, 0);
string? commit = UpdateCheck.CommitOf(
assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion);
Updates = new UpdateCheck(SettingsStore.Settings, new GitHubReleaseFeed(log, version), version, commit,
files, clock, log, settingsPaths.UpdateCheckPath());
StartSimulation = new StartSimulation(State, SettingsStore, Library.Vehicles, Executables, files, paths,
Processes, Random, log);
Aftermath = new SimulatorAftermath(files, paths, log);
@@ -134,8 +127,6 @@ public sealed class AppServices
public MissingVehicleLog MissingVehicleLog { get; }
public UpdateCheck Updates { get; }
public FavoriteSceneries Favorites { get; }
public StartSimulation StartSimulation { get; }