diff --git a/Makefile b/Makefile index f8ab9d9..c66ee54 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ BINARY_NAME=pangolin OUTPUT_DIR=bin -VERSION ?= 0.15.1 +VERSION ?= 0.16.0 LDFLAGS = -s -w -X github.com/fosrl/cli/internal/version.Version=$(VERSION) all: clean build diff --git a/README.md b/README.md index f85583e..723c569 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This is the official Pangolin CLI tool. -Since there isn't an official GUI application for Linux, this CLI serves as the official way to connect to Pangolin VPN on Linux. +Since there isn't an official GUI application for Linux, this CLI serves as the official Pangolin client for Linux devices. This client can be used with both: diff --git a/cmd/resetdns/resetdns_unix.go b/cmd/resetdns/resetdns_unix.go index 74313a3..37d89b1 100644 --- a/cmd/resetdns/resetdns_unix.go +++ b/cmd/resetdns/resetdns_unix.go @@ -37,7 +37,7 @@ active; use --force to override that check.`, } if os.Geteuid() != 0 { - logger.Warning("DNS reset typically requires root privileges; rerun with sudo if it fails") + return errors.New("reset-dns must be run as root (or with sudo) to modify system DNS settings") } if err := dnsOverride.ForceResetDNS(interfaceName); err != nil { diff --git a/internal/version/consts.go b/internal/version/consts.go index 0788551..ace425b 100644 --- a/internal/version/consts.go +++ b/internal/version/consts.go @@ -4,4 +4,4 @@ package version // This value can be overridden at build time using ldflags: // // go build -ldflags "-X github.com/fosrl/cli/internal/version.Version=" -var Version = "0.15.1" +var Version = "0.16.0" diff --git a/pangolin-cli.wxs b/pangolin-cli.wxs index 997fb28..def0886 100644 --- a/pangolin-cli.wxs +++ b/pangolin-cli.wxs @@ -2,7 +2,7 @@