Load vehicles from a JSON copy of textures.txt, rebuilt when the installation changes

This commit is contained in:
maj00r
2026-10-04 12:18:36 +02:00
parent d1d458f8ee
commit 93463ae7f2
9 changed files with 362 additions and 19 deletions

View File

@@ -51,6 +51,8 @@ public sealed class PhysicalFileSystem : IFileSystem
public DateTime GetLastWriteTimeUtc(string path) => File.GetLastWriteTimeUtc(path);
public long GetFileSize(string path) => new FileInfo(path).Length;
public bool IsExecutable(string path)
{
if (OperatingSystem.IsWindows())