diff --git a/cli/installations.go b/cli/installations.go index bb3e280..cb65155 100644 --- a/cli/installations.go +++ b/cli/installations.go @@ -183,7 +183,7 @@ func (i *Installations) DeleteInstallation(installPath string) error { return nil } -var rootExecutables = []string{"FactoryGame.exe", "FactoryServer.sh", "FactoryServer.exe"} +var rootExecutables = []string{"FactoryGame.exe", "FactoryServer.sh", "FactoryServer.exe", "FactoryGameSteam.exe", "FactoryGameEGS.exe"} func (i *Installation) Validate(ctx *GlobalContext) error { found := false diff --git a/cli/platforms.go b/cli/platforms.go index 916a8f8..07b84de 100644 --- a/cli/platforms.go +++ b/cli/platforms.go @@ -35,4 +35,15 @@ var platforms = []Platform{ LockfilePath: filepath.Join("FactoryGame", "Mods"), TargetName: "WindowsServer", }, + // 1.0 stuff + { + VersionPath: filepath.Join("Engine", "Binaries", "Win64", "FactoryGameSteam-Win64-Shipping.version"), + LockfilePath: filepath.Join("FactoryGame", "Mods"), + TargetName: "Windows", + }, + { + VersionPath: filepath.Join("Engine", "Binaries", "Win64", "FactoryGameEGS-Win64-Shipping.version"), + LockfilePath: filepath.Join("FactoryGame", "Mods"), + TargetName: "Windows", + }, }