fix: add FactoryGameSteam
and FactoryGameEGS
rootExecutable and platform (#69)
* fix: add `FactoryGameSteam` rootExecutable and platform * fix: add `FactoryGameEGS` rootExecutable and platform
This commit is contained in:
parent
8acb690014
commit
7cd93926c6
2 changed files with 12 additions and 1 deletions
|
@ -183,7 +183,7 @@ func (i *Installations) DeleteInstallation(installPath string) error {
|
||||||
return nil
|
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 {
|
func (i *Installation) Validate(ctx *GlobalContext) error {
|
||||||
found := false
|
found := false
|
||||||
|
|
|
@ -35,4 +35,15 @@ var platforms = []Platform{
|
||||||
LockfilePath: filepath.Join("FactoryGame", "Mods"),
|
LockfilePath: filepath.Join("FactoryGame", "Mods"),
|
||||||
TargetName: "WindowsServer",
|
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",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue