Skip to content

Commit

Permalink
feat: Prefer GOG over disk version for SWAT4
Browse files Browse the repository at this point in the history
  • Loading branch information
cetteup committed Jan 16, 2023
1 parent 24fe671 commit 2e7660c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions internal/titles/swat4.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ var Swat4 = domain.GameTitle{
{
ForType: software_finder.RegistryFinder,
RegistryKey: software_finder.RegistryKeyLocalMachine,
RegistryPath: "SOFTWARE\\WOW6432Node\\Sierra\\SWAT 4",
RegistryValueName: "InstallPath",
RegistryPath: "SOFTWARE\\WOW6432Node\\GOG.com\\Games\\1409964317",
RegistryValueName: "PATH",
},
{
ForType: software_finder.RegistryFinder,
RegistryKey: software_finder.RegistryKeyLocalMachine,
RegistryPath: "SOFTWARE\\WOW6432Node\\GOG.com\\Games\\1409964317",
RegistryValueName: "PATH",
RegistryPath: "SOFTWARE\\WOW6432Node\\Sierra\\SWAT 4",
RegistryValueName: "InstallPath",
},
},
LauncherConfig: game_launcher.Config{
Expand All @@ -41,14 +41,14 @@ var Swat4X = domain.GameTitle{
{
ForType: software_finder.RegistryFinder,
RegistryKey: software_finder.RegistryKeyLocalMachine,
RegistryPath: "SOFTWARE\\WOW6432Node\\Sierra\\SWAT 4 - THE STETCHKOV SYNDICATE",
RegistryValueName: "InstallPath",
RegistryPath: "SOFTWARE\\WOW6432Node\\GOG.com\\Games\\1409964317",
RegistryValueName: "PATH",
},
{
ForType: software_finder.RegistryFinder,
RegistryKey: software_finder.RegistryKeyLocalMachine,
RegistryPath: "SOFTWARE\\WOW6432Node\\GOG.com\\Games\\1409964317",
RegistryValueName: "PATH",
RegistryPath: "SOFTWARE\\WOW6432Node\\Sierra\\SWAT 4 - THE STETCHKOV SYNDICATE",
RegistryValueName: "InstallPath",
},
},
LauncherConfig: game_launcher.Config{
Expand Down

0 comments on commit 2e7660c

Please sign in to comment.