From e895a3b3e828c839e70b2bb5cbd353227b333dab Mon Sep 17 00:00:00 2001 From: Marat Budkevich <93652988+marat2509@users.noreply.github.com> Date: Fri, 8 Mar 2024 14:07:15 +0300 Subject: [PATCH] mirror: add experimental arm64 support --- worker/core/inc/classes/Mirror.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worker/core/inc/classes/Mirror.class.php b/worker/core/inc/classes/Mirror.class.php index fac5415..ffd049a 100644 --- a/worker/core/inc/classes/Mirror.class.php +++ b/worker/core/inc/classes/Mirror.class.php @@ -472,7 +472,8 @@ static protected function parse_update_file($matches) if (empty($output['file']) or empty($output['size']) or (static::$ESET['x32'] != 1 and preg_match("/32|86/", $output['platform'])) or - (static::$ESET['x64'] != 1 and preg_match("/64/", $output['platform'])) + (static::$ESET['x64'] != 1 and preg_match("/64/", $output['platform'])) or + (static::$ESET['arm64'] != 1 and preg_match("/a64/", $output['platform'])) or ) continue; $new_files[] = $output; $total_size += $output['size'];