diff --git a/zerver/lib/github.py b/zerver/lib/github.py index 75fb912754..226a6949e8 100644 --- a/zerver/lib/github.py +++ b/zerver/lib/github.py @@ -28,7 +28,7 @@ def verify_release_download_link(link: str) -> bool: PLATFORM_TO_SETUP_FILE = { "linux": "Zulip-{version}-x86_64.AppImage", - "mac": "Zulip-{version}.dmg", + "mac": "Zulip-{version}-x64.dmg", "mac-arm64": "Zulip-{version}-arm64.dmg", "windows": "Zulip-Web-Setup-{version}.exe", } diff --git a/zerver/tests/test_github.py b/zerver/tests/test_github.py index c388def3fa..5d4c3a7366 100644 --- a/zerver/tests/test_github.py +++ b/zerver/tests/test_github.py @@ -40,12 +40,12 @@ class GitHubTestCase(ZulipTestCase): responses.add( responses.HEAD, - "https://github.com/zulip/zulip-desktop/releases/download/v5.4.3/Zulip-5.4.3.dmg", + "https://github.com/zulip/zulip-desktop/releases/download/v5.4.3/Zulip-5.4.3-x64.dmg", status=302, ) self.assertEqual( get_latest_github_release_download_link_for_platform("mac"), - "https://github.com/zulip/zulip-desktop/releases/download/v5.4.3/Zulip-5.4.3.dmg", + "https://github.com/zulip/zulip-desktop/releases/download/v5.4.3/Zulip-5.4.3-x64.dmg", ) api_url = "https://api.github.com/repos/zulip/zulip-desktop/releases/latest"