docs: update snapcraft tutorial background information (#25747)

- Remove outdated comment about macOS.
- Refer to Snapcraft's installation documentation for up-to-date installation instructions.
This commit is contained in:
Chris Patterson 2020-10-05 02:00:23 -04:00 committed by GitHub
parent 77e2e47504
commit 4ccc9e4205
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,16 +19,9 @@ There are three ways to create a `.snap` file:
2) Using `electron-installer-snap`, which takes `electron-packager`'s output. 2) Using `electron-installer-snap`, which takes `electron-packager`'s output.
3) Using an already created `.deb` package. 3) Using an already created `.deb` package.
In all cases, you will need to have the `snapcraft` tool installed. We In some cases, you will need to have the `snapcraft` tool installed.
recommend building on Ubuntu 16.04 (or the current LTS). Instructions to install `snapcraft` for your particular distribution are
available [here](https://snapcraft.io/docs/installing-snapcraft).
```sh
snap install snapcraft --classic
```
While it _is possible_ to install `snapcraft` on macOS using Homebrew, it
is not able to build `snap` packages and is focused on managing packages
in the store.
## Using `electron-installer-snap` ## Using `electron-installer-snap`