|
|
@ -10,7 +10,7 @@ local commandaction="Update" |
|
|
|
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" |
|
|
|
|
|
|
|
fn_update_factorio_dl(){ |
|
|
|
fn_fetch_file "https://www.factorio.com/get-download/${availablebuild}/headless/${factorioarch}" "${tmpdir}" "factorio_headless_${factorioarch}-${availablebuild}.tar.gz" |
|
|
|
fn_fetch_file "https://www.factorio.com/get-download/${availablebuild}/headless/${factorioarch}" "${tmpdir}/factorio_headless_${factorioarch}-${availablebuild}" "factorio_headless_${factorioarch}-${availablebuild}.tar.gz" |
|
|
|
fn_dl_extract "${tmpdir}" "factorio_headless_${factorioarch}-${availablebuild}.tar.gz" "${tmpdir}/factorio_headless_${factorioarch}-${availablebuild}" |
|
|
|
echo -e "copying to ${filesdir}...\c" |
|
|
|
fn_script_log "Copying to ${filesdir}" |
|
|
|