From fb5d0729d4161a5589893f43f199c2787a150bb3 Mon Sep 17 00:00:00 2001 From: Another Neko Date: Wed, 4 Feb 2026 18:11:05 -0500 Subject: [PATCH] Fix regex pattern for factorio filename replaced _ with - --- factorio | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factorio b/factorio index 3fb7ad3..0ab5568 100755 --- a/factorio +++ b/factorio @@ -483,7 +483,7 @@ function install(){ fi # parse the response - if filename=$(echo "${httpresponse}" |grep -oP '(?<=^location: )[^\?]+' |grep -oP 'factorio_headless.+'); then + if filename=$(echo "${httpresponse}" |grep -oP '(?<=^location: )[^\?]+' |grep -oP 'factorio-headless.+'); then debug "Found, latest version: '${filename}'" else debug "${httpresponse}"