Skip to content

Commit

Permalink
add FactoryGameSteam and FactoryGameEGS install types
Browse files Browse the repository at this point in the history
  • Loading branch information
budak7273 committed Sep 10, 2024
1 parent be63180 commit 8f8460c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions backend/installfinders/common/gameinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@ var gameInfo = []installType{
versionPath: filepath.Join("Engine", "Binaries", "Win64", "FactoryServer-Win64-Shipping.version"),
installType: InstallTypeWindowsServer,
},
// Update 1.0 stuff
{
executable: "FactoryGameSteam.exe",
versionPath: filepath.Join("Engine", "Binaries", "Win64", "FactoryGameSteam-Win64-Shipping.version"),
installType: InstallTypeWindowsClient,
},
{
executable: "FactoryGameEGS.exe",
versionPath: filepath.Join("Engine", "Binaries", "Win64", "FactoryGameEGS-Win64-Shipping.version"),
installType: InstallTypeWindowsClient,
},
}

type GameVersionFile struct {
Expand Down
2 changes: 2 additions & 0 deletions build/windows/installer/project.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ Function .onVerifyInstDir

Check:
IfFileExists $currentDir\FactoryGame.exe GameExists
IfFileExists $currentDir\FactoryGameSteam.exe GameExists
IfFileExists $currentDir\FactoryGameEGS.exe GameExists
IfFileExists $currentDir\FactoryServer.exe GameExists
IfFileExists $currentDir\FactoryServer.sh GameExists
${GetParent} $currentDir $currentDir
Expand Down

0 comments on commit 8f8460c

Please sign in to comment.