Update mac.md
This commit is contained in:
parent
9facd7feb5
commit
a8a3496ab7
|
@ -28,6 +28,41 @@ espanso --version
|
|||
|
||||
At this point, you have to [Enable Accessibility](#enabling-accessibility) to use espanso.
|
||||
|
||||
### Manually
|
||||
|
||||
Download `espanso-mac.tar.gz` from the [Releases page](https://github.com/federico-terzi/espanso/releases):
|
||||
|
||||
```
|
||||
curl -sOL https://github.com/federico-terzi/espanso/releases/latest/download/espanso-mac.tar.gz
|
||||
```
|
||||
|
||||
Extract the binary:
|
||||
|
||||
```
|
||||
tar -xzf espanso-mac.tar.gz
|
||||
```
|
||||
|
||||
Create a folder to house the binary:
|
||||
|
||||
```
|
||||
sudo mkdir -p /usr/local/espanso/bin
|
||||
sudo cp espanso /usr/local/espanso/bin/espanso
|
||||
```
|
||||
|
||||
Create a symbolic link in your `/usr/local/bin` folder:
|
||||
|
||||
```
|
||||
sudo ln -s /usr/local/espanso/bin/espanso /usr/local/bin
|
||||
```
|
||||
|
||||
To make sure that espanso was correctly installed, you can open a terminal and type:
|
||||
|
||||
```
|
||||
espanso --version
|
||||
```
|
||||
|
||||
At this point, you have to [Enable Accessibility](#enabling-accessibility) to use espanso.
|
||||
|
||||
### Enabling Accessibility
|
||||
|
||||
Because espanso uses the macOS [Accessibility API](https://developer.apple.com/library/archive/documentation/Accessibility/Conceptual/AccessibilityMacOSX/)
|
||||
|
@ -60,4 +95,4 @@ If everything goes well, you should see the espanso icon appear in the status ba
|
|||
|
||||
If you now type `:espanso` in any text field, you should see "Hi there!" appear!
|
||||
|
||||
At this point, you are ready to read the [Getting Started](/docs/get-started/) tutorial.
|
||||
At this point, you are ready to read the [Getting Started](/docs/get-started/) tutorial.
|
||||
|
|
Loading…
Reference in New Issue
Block a user