ficsit-cli-flake/cli/platforms.go

50 lines
1.5 KiB
Go
Raw Normal View History

2022-05-02 20:07:15 +00:00
package cli
2022-06-05 01:56:46 +00:00
import "path/filepath"
2022-05-02 20:07:15 +00:00
type Platform struct {
VersionPath string
LockfilePath string
TargetName string
2022-05-02 20:07:15 +00:00
}
var platforms = []Platform{
{
VersionPath: filepath.Join("Engine", "Binaries", "Linux", "UnrealServer-Linux-Shipping.version"),
2022-06-05 01:56:46 +00:00
LockfilePath: filepath.Join("FactoryGame", "Mods"),
TargetName: "LinuxServer",
2022-05-02 20:07:15 +00:00
},
{
VersionPath: filepath.Join("Engine", "Binaries", "Win64", "UnrealServer-Win64-Shipping.version"),
2022-06-05 01:56:46 +00:00
LockfilePath: filepath.Join("FactoryGame", "Mods"),
TargetName: "WindowsServer",
2022-05-02 20:07:15 +00:00
},
{
2022-06-05 01:56:46 +00:00
VersionPath: filepath.Join("Engine", "Binaries", "Win64", "FactoryGame-Win64-Shipping.version"),
LockfilePath: filepath.Join("FactoryGame", "Mods"),
TargetName: "Windows",
2022-05-02 20:07:15 +00:00
},
// Update 9 stuff below
{
VersionPath: filepath.Join("Engine", "Binaries", "Linux", "FactoryServer-Linux-Shipping.version"),
LockfilePath: filepath.Join("FactoryGame", "Mods"),
TargetName: "LinuxServer",
},
{
VersionPath: filepath.Join("Engine", "Binaries", "Win64", "FactoryServer-Win64-Shipping.version"),
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",
},
2022-05-02 20:07:15 +00:00
}