Skip to content

Commit 7853de7

Browse files
committed
fix crash when updating blacklist of ReShade is installed
1 parent b5e0155 commit 7853de7

3 files changed

Lines changed: 161 additions & 161 deletions

File tree

docs/release-notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Upcoming release
55
* For players:
66
* Added a friendly error message when the game fails to launch with a `NoSuitableGraphicsDeviceException`.
7+
* Fixed crash when SMAPI tries to update the mod blacklist if ReShade is installed.
78

89
## 4.3.1
910
Released 13 July 2025 for Stardew Valley 1.6.14 or later. See [release highlights](https://www.patreon.com/posts/133992196).

src/SMAPI.Web/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ internal class Startup
4949
private const string BlacklistFileName = "SMAPI.blacklist.json";
5050

5151
/// <summary>The MD5 hash for the 'malicious mods' blacklist file.</summary>
52-
private Lazy<string?> BlacklistMd5Hash;
52+
private readonly Lazy<string> BlacklistMd5Hash;
5353

5454

5555
/*********

0 commit comments

Comments
 (0)