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
|
2023-12-07 16:57:31 +00:00
|
|
|
TargetName string
|
2022-05-02 20:07:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var platforms = []Platform{
|
|
|
|
{
|
2023-12-06 03:51:23 +00:00
|
|
|
VersionPath: filepath.Join("Engine", "Binaries", "Linux", "UnrealServer-Linux-Shipping.version"),
|
2022-06-05 01:56:46 +00:00
|
|
|
LockfilePath: filepath.Join("FactoryGame", "Mods"),
|
2023-12-07 16:57:31 +00:00
|
|
|
TargetName: "LinuxServer",
|
2022-05-02 20:07:15 +00:00
|
|
|
},
|
|
|
|
{
|
2023-12-06 03:51:23 +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"),
|
2023-12-07 16:57:31 +00:00
|
|
|
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"),
|
2023-12-07 16:57:31 +00:00
|
|
|
TargetName: "Windows",
|
2022-05-02 20:07:15 +00:00
|
|
|
},
|
|
|
|
}
|