Update Empyrion - Backup Exclude Toggle (#251)

This adds a checkbox slider to allow disabling the download of the default backup exclude file.
This commit is contained in:
IceOfWraith 2022-12-16 22:26:30 -06:00 committed by GitHub
parent 09d6d804bf
commit 7e025bac53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -407,5 +407,21 @@
"DefaultValue": "public", "DefaultValue": "public",
"Placeholder": "public", "Placeholder": "public",
"EnumValues": {} "EnumValues": {}
},
{
"DisplayName":"Download Backup Exclude File",
"Category":"SteamCMD and Updates",
"Description":"This downloads a default backup exclude file to save space on backups by only saving specific directories. If this is disabled, you will need to manually delete the .backupExclude file it downloads.",
"Keywords":"download,backup,exclude,file",
"FieldName":"backupExclude",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"backupExclude",
"IncludeInCommandLine":false,
"DefaultValue":"true",
"EnumValues":{
"False": "false",
"True": "true"
}
} }
] ]

View File

@ -21,6 +21,8 @@
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/exclusions/.backupExclusionsEmpyrion1", "UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/exclusions/.backupExclusionsEmpyrion1",
"UpdateSourceArgs":".backupExclude", "UpdateSourceArgs":".backupExclude",
"UpdateSourceTarget":"{{$FullBaseDir}}", "UpdateSourceTarget":"{{$FullBaseDir}}",
"UpdateSourceConditionSetting": "backupExclude",
"UpdateSourceConditionValue": "true",
"OverwriteExistingFiles":false "OverwriteExistingFiles":false
} }
] ]