Skip to content

Commit

Permalink
feat: Add disk version path for Unreal Tournament
Browse files Browse the repository at this point in the history
  • Loading branch information
cetteup committed Feb 9, 2023
1 parent 989dc8f commit cdd32d0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions internal/titles/ut.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ var UT = domain.GameTitle{
ForType: software_finder.RegistryFinder,
RegistryKey: software_finder.RegistryKeyLocalMachine,
RegistryPath: "SOFTWARE\\Unreal Technology\\Installed Apps\\UnrealTournament",
RegistryValueName: "folder",
RegistryValueName: "Folder",
},
{
ForType: software_finder.RegistryFinder,
RegistryKey: software_finder.RegistryKeyCurrentUser, // When installed via Steam, key is CurrentUser instead of LocalMachine
RegistryPath: "SOFTWARE\\Unreal Technology\\Installed Apps\\UnrealTournament",
RegistryValueName: "folder",
RegistryValueName: "Folder",
},
{
ForType: software_finder.RegistryFinder,
RegistryKey: software_finder.RegistryKeyLocalMachine,
RegistryPath: "SOFTWARE\\WOW6432Node\\Unreal Technology\\Installed Apps\\UnrealTournament", // Disk version uses WOW6432Node
RegistryValueName: "Folder",
},
},
LauncherConfig: game_launcher.Config{
Expand Down

0 comments on commit cdd32d0

Please sign in to comment.