From 0ce7ed02b60c60e0d5751d6453f30603be15aefc Mon Sep 17 00:00:00 2001 From: srgooglo Date: Fri, 24 Nov 2023 17:14:03 +0100 Subject: [PATCH] update --- manifests/lethal-company.manifest | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/manifests/lethal-company.manifest b/manifests/lethal-company.manifest index 501a7a3..9314de5 100644 --- a/manifests/lethal-company.manifest +++ b/manifests/lethal-company.manifest @@ -33,18 +33,26 @@ module.exports = { const dlBundle = global._.bundles[os_string] + const dlObject ={ + path: dlBundle.filename, + url: dlBundle.url, + extract: true, + delete_after_extract: true, + progress: true, + } + const data = { - install_steps: { - http_downloads: [ - { - path: dlBundle.filename, - url: dlBundle.url, - extract: true, - delete_after_extract: true, - progress: true, - } - ] - } + install_steps: { + http_downloads: [ + dlObject + ] + }, + update_steps: { + http_downloads: [ + dlObject + ] + }, + } return data