mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-22 00:04:57 +01:00
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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user