Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build docs: linux: mention both libayatana-appindicator and the other one #36

Merged
merged 2 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 8 additions & 4 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,27 @@ go install ./cmd/sni

## Linux
Set up `$GOPATH` environment variable to point to `$HOME/go`.
```
```sh
mkdir -p $HOME/go/bin
export GOPATH=$HOME/go
```

Install required libraries:
```
```sh
sudo apt-get update && sudo apt-get install -y gcc libgtk-3-dev libappindicator3-dev
# or
sudo apt-get update && sudo apt-get install -y gcc libgtk-3-dev libayatana-appindicator3-dev
```

Build steps:
```
```sh
git clone https://github.com/alttpo/sni.git

cd sni

go install ./cmd/sni
go install -tags=legacy_appindicator ./cmd/sni # to use libappindicator3
# or
go install ./cmd/sni # to use libayatana-appindicator3
```

## Results
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ go get ./...
go build ./cmd/sni
```

See [BUILD.md](BUILD.md#linux) for more details or if the build fails.

# For Developers

SNI offers a [gRPC](https://grpc.io/) API as its primary means of communication
Expand Down