Skip to content

Commit

Permalink
Update run options
Browse files Browse the repository at this point in the history
  • Loading branch information
grant0417 authored Sep 24, 2022
1 parent f32c590 commit e647293
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Mullvad Ping

Gets the list of Mullvad servers with the best latency according to `ping`. To
use either download the executable or run using Deno
`deno run --allow-net --allow-run script.ts`. To generate an executable run
`deno compile --allow-net --allow-run -o mullvad-ping script.ts`.
Gets the list of Mullvad servers with the best latency according to `ping`.

Run

```bash
deno run --allow-net --allow-run https://raw.githubusercontent.com/grant0417/mullvad-ping/main/script.ts
```

Build Exe

```
deno compile --allow-net --allow-run -o mullvad-ping https://raw.githubusercontent.com/grant0417/mullvad-ping/main/script.ts
```

Note: The Windows version of `ping` is somewhat more limited than that of Linux
or Mac so the times are less precice and the script will take ~5x longer.
Expand Down

0 comments on commit e647293

Please sign in to comment.