Skip to content

Commit

Permalink
mirror: add experimental arm64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
marat2509 authored Mar 8, 2024
1 parent 58aa901 commit e895a3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion worker/core/inc/classes/Mirror.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit e895a3b

Please sign in to comment.