Skip to content

Commit

Permalink
website: drop apple installation doc
Browse files Browse the repository at this point in the history
Summary: The `macOS 12` GitHub action image was deprecated (actions/runner-images#10721) so we no longer build the macOS x64 releases.

Reviewed By: sggutier

Differential Revision: D66832591

fbshipit-source-id: 463aab8a026ea071f0f22bfa369365b907177f56
  • Loading branch information
quark-zju authored and facebook-github-bot committed Dec 5, 2024
1 parent 7e8d748 commit 4586155
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 1 addition & 15 deletions website/docs/introduction/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {gitHubRepo, gitHubRepoName, latestReleasePage} from '@site/constants'

import {Command, SLCommand} from '@site/elements'

import {latestReleaseVersion, macArmAsset, macIntelAsset, ubuntu20, ubuntu22, windowsAsset} from '@site/src/releaseData';
import {latestReleaseVersion, macArmAsset, ubuntu20, ubuntu22, windowsAsset} from '@site/src/releaseData';

import CodeBlock from '@theme/CodeBlock';

Expand Down Expand Up @@ -46,20 +46,6 @@ Then install:
brew install ./{macArmAsset.name}
</CodeBlock>

##### Intel (x86_64)

Download using `curl`:

<CodeBlock>
curl -L -o {macIntelAsset.name} {macIntelAsset.url}
</CodeBlock>

Then install:

<CodeBlock>
brew install ./{macIntelAsset.name}
</CodeBlock>

:::caution

Downloading the bottle using a web browser instead of `curl` will cause macOS to tag Sapling as "untrusted" and the security manager will prevent you from running it. You can remove this annotation as follows:
Expand Down
2 changes: 0 additions & 2 deletions website/src/releaseData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ export const latestReleaseVersion = latestReleaseAssets.name;

export const macArmAsset = findAssetWithFilenameSubstr('arm64_ventura.bottle.tar.gz');

export const macIntelAsset = findAssetWithFilenameSubstr('.monterey.bottle.tar.gz');

export const ubuntu20 = findAssetWithFilenameSubstr('Ubuntu20.04.deb');

export const ubuntu22 = findAssetWithFilenameSubstr('Ubuntu22.04.deb');
Expand Down

0 comments on commit 4586155

Please sign in to comment.