Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jul 21, 2023
1 parent 7c6a48d commit 99ba534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected function fetchUrl(string $url): string
*/
protected function resolveDownloadUrl(string $version, string $slug): string
{
if (version_compare($version, '113.0', '<')) {
if (version_compare($version, '115.0', '<')) {
if ($slug == 'mac_arm64' && version_compare($version, '106.0.5249', '<')) {
$slug == 'mac64_m1';
}
Expand Down
2 changes: 1 addition & 1 deletion src/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected function extract(string $version, string $archive): string

$zip->extractTo($this->directory);

$binary = $zip->getNameIndex(version_compare($version, '113.0', '<') ? 0 : 1);
$binary = $zip->getNameIndex(version_compare($version, '115.0', '<') ? 0 : 1);

$zip->close();

Expand Down

0 comments on commit 99ba534

Please sign in to comment.