Skip to content

Commit ca3803e

Browse files
Copilotumireon
authored andcommitted
Fix macOS download page serving .deb instead of .pkg (royshil#708)
* Initial plan * Fix macOS download link to use .pkg instead of .deb file Co-authored-by: umireon <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: umireon <[email protected]>
1 parent 682daad commit ca3803e

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

pages/package-lock.json

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pages/src/pages/macos.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const { BASE_URL } = import.meta.env;
99
1010
const release = await getLatestRelease();
1111
12-
const asset = release.assets.find((e) => /x86_64-linux-gnu\.deb/.test(e.name));
13-
if (!asset) throw new Error("Ubuntu asset not found!");
12+
const asset = release.assets.find((e) => /macos-universal\.pkg/.test(e.name));
13+
if (!asset) throw new Error("macOS asset not found!");
1414
---
1515

1616
<Layout

0 commit comments

Comments
 (0)