Skip to content

Commit 1528dac

Browse files
committed
BUGFIX: workaround for dockerized M1 macs
1 parent 531c613 commit 1528dac

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Classes/Composer/InstallerScripts.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ public static function postUpdateAndInstall()
7777
Files::createDirectoryRecursively("Data/Temporary");
7878

7979
$downloadLink = sprintf('https://github.com/Flowpack/prunner/releases/download/v%1$s/prunner_%1$s_%2$s_%3$s.tar.gz', $version, $platform, $architecture);
80+
// Workaround for Dockerized M1 Macs:
81+
$downloadLink = str_replace('Linux_aarch64.tar.gz', 'Linux_arm64.tar.gz', $downloadLink);
8082
$httpClient = new Client();
8183
$httpClient->get($downloadLink, ['sink' => 'Data/Temporary/prunner.tar.gz']);
8284
echo '> Download complete.' . "\n";

0 commit comments

Comments
 (0)