From 99ba534fe6d9ce97621327d03f5b858d786c7a7f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 21 Jul 2023 23:01:30 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- src/Command.php | 2 +- src/UpdateCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command.php b/src/Command.php index e5237f6..bf8348a 100644 --- a/src/Command.php +++ b/src/Command.php @@ -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'; } diff --git a/src/UpdateCommand.php b/src/UpdateCommand.php index 95816ab..a40e095 100644 --- a/src/UpdateCommand.php +++ b/src/UpdateCommand.php @@ -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();