7 Commits
Author SHA1 Message Date
Richard Stanway 1106c1acaf updater: Add log window and additional log messages 2026-02-20 15:16:35 -05:00
Richard Stanway 6340d7a845 updater: Check return values in ClearShaderCache
Invoking filesystem::remove_all on potentially truncated paths seems
like a bad idea.
2026-02-18 15:26:28 -05:00
Richard Stanway 8752a20830 updater: Fix incorrect format specifier 2026-02-10 17:46:18 -05:00
Richard Stanway 1866f8c1e6 updater: Don't force file flushes when writing new files
Using FILE_FLAG_WRITE_THROUGH causes a flush to disk on each file which
is bad for performance.
2026-02-10 17:46:18 -05:00
Richard Stanway 95bfb81f69 updater: Improve exception handling
Logs exceptions and changes QuickWriteFile to throw a catchable
exception instead of a DWORD.
2026-02-10 17:46:18 -05:00
Richard Stanway e715df130b updater: Fix various race conditions and error handling
The main race was possible concurrent access to unordered_map which
could corrupt internal state. Our global variables were also not
atomically updated. DownloadWorkerThread also returned true on error,
which could cause the updater to proceed without all updates being
downloaded which would then fail at the install stage.
2026-02-10 17:46:18 -05:00
PatTheMav ff3b62422e frontend: Migrate Windows updater 2025-01-08 17:33:13 +01:00