Skip to content

Commit

Permalink
root key
Browse files Browse the repository at this point in the history
  • Loading branch information
DEATHB4DEFEAT committed Jan 8, 2025
1 parent d0c8328 commit 47bbeb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SS14.Launcher/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private void RegisterProtocol()
Log.Information("Registering SS14 protocol handler for Windows");
foreach (var protocol in protocols)
{
var key = Registry.CurrentUser.CreateSubKey($@"Software\Classes\{protocol}");
var key = Registry.ClassesRoot.CreateSubKey(protocol);
key.SetValue(string.Empty, $"URL: {protocol}");
key.SetValue("URL Protocol", string.Empty);

Expand Down

0 comments on commit 47bbeb8

Please sign in to comment.