File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed
Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1- VERSION =0.1.1
1+ VERSION =0.1.2
22BUILD =` git rev-parse --short=8 HEAD `
33.PHONY : all fmt static precommit arm64 amd64 fmt static test release release_dir
44
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ Make sure you have WireGuard and iptables installed
2929To download using curl run:
3030``` shell
3131# for x86_64
32- curl -SL https://github.com/andrianbdn/wg-cmd/releases/download/v0.1.1 /wg-cmd-0.1.1 -linux-amd64 -o /usr/local/bin/wg-cmd
32+ curl -SL https://github.com/andrianbdn/wg-cmd/releases/download/v0.1.2 /wg-cmd-0.1.2 -linux-amd64 -o /usr/local/bin/wg-cmd
3333
3434# for arm64
35- curl -SL https://github.com/andrianbdn/wg-cmd/releases/download/v0.1.1 /wg-cmd-0.1.1 -linux-arm64 -o /usr/local/bin/wg-cmd
35+ curl -SL https://github.com/andrianbdn/wg-cmd/releases/download/v0.1.2 /wg-cmd-0.1.2 -linux-arm64 -o /usr/local/bin/wg-cmd
3636```
3737
3838Set proper permissions and run the tool:
Original file line number Diff line number Diff line change 11module github.com/andrianbdn/wg-cmd
22
3- go 1.19
3+ go 1.20
44
55require (
66 github.com/BurntSushi/toml v1.2.1
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ package main
22
33import (
44 "fmt"
5- "math/rand"
65 "os"
7- "time"
86
97 "github.com/andrianbdn/wg-cmd/app"
108 tea "github.com/charmbracelet/bubbletea"
1614)
1715
1816func main () {
19- rand .Seed (time .Now ().UnixNano ()) // TODO: Remove when upgrade to go 1.20
20-
2117 a := app .NewApp ()
2218 a .RunCli () // will do nothing if cli is not used
2319 m := NewAppModel (a )
You can’t perform that action at this time.
0 commit comments