From 8ad03948dc4a47e2c5c5c44920027876174c303f Mon Sep 17 00:00:00 2001 From: Louis Pienaar Date: Thu, 15 Sep 2022 21:57:12 +0200 Subject: [PATCH] Allow autostart to be configured by conf.json Issue #301 autostart --- src/bootstrap/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/config.go b/src/bootstrap/config.go index 685cabc5..fe8e0fc3 100644 --- a/src/bootstrap/config.go +++ b/src/bootstrap/config.go @@ -59,7 +59,7 @@ type Config struct { GlibcCustom string `json:"-"` GlibcLocation string `json:"-"` GlibcLibLoc string `json:"-"` - Autostart string `json:"-"` + Autostart string `json:"autostart,omitempty"` ConsoleCacheSize int `json:"console_cache_size,omitempty"` // the amount of cached lines, inside the factorio output cache ConsoleLogFile string `json:"console_log_file,omitempty"` ChatLogFile string `json:"chat_log_file,omitempty"` // separate log file for chat (incl join/quit)