Skip to content

Commit b0eab29

Browse files
committed
Update Cursor download links and version history
1 parent c5debdb commit b0eab29

File tree

4 files changed

+48
-178
lines changed

4 files changed

+48
-178
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A simple, automatically updated site providing the latest download links for the
44

55
**Live Site:** [downloadcursor.app](https://downloadcursor.app)
66

7-
**Latest Version:** v1.5.11 (Released: 2025-09-05)
7+
**Latest Version:** v1.6.5 (Released: 2025-09-10)
88

99
## Features
1010

scripts/update-links.ts

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,19 +130,25 @@ async function fetchLatestDownloadUrl(
130130
// Prefer new prerelease update endpoint for all platforms
131131
let normalizedPlatform: string | null = null;
132132
if (apiPlatform.includes("win32-x64")) normalizedPlatform = "win32-x64";
133-
else if (apiPlatform.includes("win32-arm64")) normalizedPlatform = "win32-arm64";
134-
else if (apiPlatform.includes("darwin-universal")) normalizedPlatform = "darwin-universal";
135-
else if (apiPlatform.includes("darwin-arm64")) normalizedPlatform = "darwin-arm64";
136-
else if (apiPlatform.includes("darwin-x64")) normalizedPlatform = "darwin-x64";
137-
else if (apiPlatform.includes("linux-x64")) normalizedPlatform = "linux-x64";
138-
else if (apiPlatform.includes("linux-arm64")) normalizedPlatform = "linux-arm64";
133+
else if (apiPlatform.includes("win32-arm64"))
134+
normalizedPlatform = "win32-arm64";
135+
else if (apiPlatform.includes("darwin-universal"))
136+
normalizedPlatform = "darwin-universal";
137+
else if (apiPlatform.includes("darwin-arm64"))
138+
normalizedPlatform = "darwin-arm64";
139+
else if (apiPlatform.includes("darwin-x64"))
140+
normalizedPlatform = "darwin-x64";
141+
else if (apiPlatform.includes("linux-x64"))
142+
normalizedPlatform = "linux-x64";
143+
else if (apiPlatform.includes("linux-arm64"))
144+
normalizedPlatform = "linux-arm64";
139145

140146
if (normalizedPlatform) {
141147
const prereleaseUrl = `https://api2.cursor.sh/updates/api/update/${normalizedPlatform}/cursor/1.0.0/hash/prerelease`;
142148
try {
143149
const preResp = await fetch(prereleaseUrl, {
144150
headers: {
145-
"Accept": "application/json",
151+
Accept: "application/json",
146152
"User-Agent":
147153
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
148154
"Cache-Control": "no-cache",

0 commit comments

Comments
 (0)