mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-22 00:04:57 +01:00
Star favourite sceneries in the list
A right click stars or unstars the scenery under it; the starred ones are gathered in a group on top and marked where they belong. They are kept in favorites.txt beside the settings, not in eu07.ini.
This commit is contained in:
@@ -53,6 +53,7 @@ public sealed class AppServices
|
||||
Executables = new ExecutableLocator(files, paths, environment, log);
|
||||
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(
|
||||
@@ -134,6 +135,8 @@ public sealed class AppServices
|
||||
|
||||
public UpdateCheck Updates { get; }
|
||||
|
||||
public FavoriteSceneries Favorites { get; }
|
||||
|
||||
public StartSimulation StartSimulation { get; }
|
||||
|
||||
public LocalizationService Localization { get; }
|
||||
|
||||
Reference in New Issue
Block a user