mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-23 00:24:41 +01:00
Check GitHub for a newer starter once a day, with a button to check now
The stable channel compares versions; the testing channel offers the staging build of another commit. The channel switch is the starter's only, not the simulator's.
This commit is contained in:
@@ -50,6 +50,9 @@ public sealed class SettingsPaths
|
||||
/// </summary>
|
||||
public string VehicleCacheDirectory() => Path.Combine(UserConfigDirectory(), "vehicles");
|
||||
|
||||
/// <summary>The day of the last update check and the release it found.</summary>
|
||||
public string UpdateCheckPath() => Path.Combine(UserConfigDirectory(), "updatecheck.txt");
|
||||
|
||||
public string UserConfigDirectory() =>
|
||||
Path.GetDirectoryName(UserConfigPath()) ?? _environment.BaseDirectory;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user