diff --git a/seven-days-to-dieconfig.json b/seven-days-to-dieconfig.json index 30b4766..ddb2a0e 100644 --- a/seven-days-to-dieconfig.json +++ b/seven-days-to-dieconfig.json @@ -1167,6 +1167,21 @@ "False": "false", "True": "true" } + },{ + "DisplayName":"Install Darkness Falls", + "Category":"SteamCMD and Updates", + "Description":"Auto-installs Darkness Falls when the server is updated. This is the Stable branch.", + "Keywords":"install,DarknessFalls", + "FieldName":"DarknessFalls", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"DarknessFalls", + "IncludeInCommandLine":false, + "DefaultValue":"false", + "EnumValues":{ + "False": "false", + "True": "true" + } },{ "DisplayName":"Please Read!", "Category":"7d2d - Undead Legacy Settings", @@ -1288,4 +1303,4 @@ "EnumValues":{}, "Suffix": "%" } -] \ No newline at end of file +] diff --git a/seven-days-to-dieupdates.json b/seven-days-to-dieupdates.json index f51a23c..4daea75 100644 --- a/seven-days-to-dieupdates.json +++ b/seven-days-to-dieupdates.json @@ -159,5 +159,36 @@ "UpdateSourceArgs": "-c \"cp -rf ./seven-days-to-die/294420/UndeadLegacyExperimental*/* ./seven-days-to-die/294420/ && rm -rf ./seven-days-to-die/294420/UndeadLegacyExperimental*/\"", "UpdateSourceConditionSetting": "ConfigFile", "UpdateSourceConditionValue": "seven-days-settings-undead-legacy-experimental" + }, + { + "UpdateStageName":"Download Darkness Falls", + "UpdateSourcePlatform":"All", + "UpdateSource": "FetchURL", + "UpdateSourceData": "https://gitlab.com/KhaineGB/darkness-falls-a20/-/archive/main/darkness-falls-a20-main.zip", + "UpdateSourceArgs":"darkness-falls-a20-main.zip", + "UpdateSourceTarget":"{{$FullBaseDir}}", + "UnzipUpdateSource": true, + "OverwriteExistingFiles": true, + "UpdateSourceConditionSetting": "DarknessFalls", + "UpdateSourceConditionValue": "true", + "DeleteAfterExtract": true + }, + { + "UpdateStageName": "Darkness Falls Copy", + "UpdateSourcePlatform": "Windows", + "UpdateSource": "Executable", + "UpdateSourceData": "cmd.exe", + "UpdateSourceArgs": "/C xcopy /E /Y /I seven-days-to-die\\294420\\darkness-falls-a20-main\\* seven-days-to-die\\294420\\ && rmdir /Q /S seven-days-to-die\\294420\\darkness-falls-a20-main", + "UpdateSourceConditionSetting": "DarknessFalls", + "UpdateSourceConditionValue": "true" + }, + { + "UpdateStageName": "Darkness Falls Copy", + "UpdateSourcePlatform": "Linux", + "UpdateSource": "Executable", + "UpdateSourceData": "/bin/bash", + "UpdateSourceArgs": "-c \"cp -rf ./seven-days-to-die/294420/darkness-falls-a20-main/* ./seven-days-to-die/294420/ && rm -rf ./seven-days-to-die/294420/darkness-falls-a20-main*/\"", + "UpdateSourceConditionSetting": "DarknessFalls", + "UpdateSourceConditionValue": "true" } ] \ No newline at end of file