1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 08:27:23 +08:00

Add explicit ToString() to avoid sending LocalisableString to registry function

This commit is contained in:
Dean Herbert 2025-01-08 20:19:38 +09:00
parent b628880214
commit e131a6c39f
No known key found for this signature in database

View File

@ -190,7 +190,7 @@ namespace osu.Desktop.Windows
// register a program id for the given extension
using (var programKey = classes.CreateSubKey(programId))
{
programKey.SetValue(null, description);
programKey.SetValue(null, description.ToString());
using (var defaultIconKey = programKey.CreateSubKey(default_icon))
defaultIconKey.SetValue(null, iconPath);