Add support for multiple Factorio installs

Allow the factorio_directory specified in the slave config to contain
multiple Factorio installs and add factior.version instance option to
select which install to use for the given instance.
This commit is contained in:
Hornwitser committed 2020-04-03 20:51:28 +02:00
1 parent 4c26fcee3a
commit ae86781b0d
7 files changed
+186 -20

No files matched your search

+6
View File
@@ -165,6 +165,12 @@ InstanceGroup.finalize();
class FactorioGroup extends classes.ConfigGroup { }
FactorioGroup.groupName = "factorio";
FactorioGroup.define({
name: "version",
description: "Version of the game to run, use latest to run the latest installed version",
type: "string",
initial_value: "latest",
});
FactorioGroup.define({
name: "game_port",
description: "UDP port to run game on, uses a random port if null",