Skip to content

Commit

Permalink
fix: add FactoryGameEGS rootExecutable and platform
Browse files Browse the repository at this point in the history
  • Loading branch information
budak7273 committed Sep 10, 2024
1 parent 8cbc1c3 commit 810b495
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cli/installations.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (i *Installations) DeleteInstallation(installPath string) error {
return nil
}

var rootExecutables = []string{"FactoryGame.exe", "FactoryServer.sh", "FactoryServer.exe", "FactoryGameSteam.exe"}
var rootExecutables = []string{"FactoryGame.exe", "FactoryServer.sh", "FactoryServer.exe", "FactoryGameSteam.exe", "FactoryGameEGS.exe"}

func (i *Installation) Validate(ctx *GlobalContext) error {
found := false
Expand Down
5 changes: 5 additions & 0 deletions cli/platforms.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,9 @@ var platforms = []Platform{
LockfilePath: filepath.Join("FactoryGame", "Mods"),
TargetName: "Windows",
},
{
VersionPath: filepath.Join("Engine", "Binaries", "Win64", "FactoryGameEGS-Win64-Shipping.version"),
LockfilePath: filepath.Join("FactoryGame", "Mods"),
TargetName: "Windows",
},
}

0 comments on commit 810b495

Please sign in to comment.