mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 14:26:31 +00:00
Update installation guide. (#204)
This commit is contained in:
parent
3a7283662a
commit
97d9fb157b
@ -1,5 +1,32 @@
|
||||
# Installation
|
||||
|
||||
## Homebrew 🍻
|
||||
```bash
|
||||
brew install spoofdpi
|
||||
```
|
||||
### Usage
|
||||
#### Binary
|
||||
You can start SpoofDPI with:
|
||||
```bash
|
||||
spoofdpi
|
||||
```
|
||||
#### Service
|
||||
Alternatively you can start SpoofDPI as a service
|
||||
- with automatic relaunch on startup:
|
||||
```bash
|
||||
brew services start spoofdpi
|
||||
```
|
||||
- without:
|
||||
```bash
|
||||
brew services run spoofdpi
|
||||
```
|
||||
##### Logs
|
||||
When running as a service, SpoofDPI writes logs to
|
||||
```text
|
||||
$HOMEBREW_PREFIX/var/log/spoofdpi/output.log
|
||||
$HOMEBREW_PREFIX/var/log/spoofdpi/error.log
|
||||
```
|
||||
|
||||
## Binary
|
||||
SpoofDPI will be installed in `~/.spoof-dpi/bin`.
|
||||
To run SpoofDPI in any directory, add the line below to your `~/.bashrc || ~/.zshrc || ...`
|
||||
@ -30,7 +57,6 @@ curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bas
|
||||
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mipsle
|
||||
```
|
||||
|
||||
|
||||
## Go
|
||||
You can also install SpoofDPI with `go install`
|
||||
```bash
|
||||
|
Loading…
Reference in New Issue
Block a user