diff --git a/README.md b/README.md index 3ed5f55..73b68b3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Version](https://img.shields.io/badge/Version-v0.4.1-green) +![Version](https://img.shields.io/badge/Version-v0.4.2-green) [![GitHub](https://img.shields.io/github/license/patrickhener/goshs)](https://github.com/patrickhener/goshs/blob/master/LICENSE) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/patrickhener/goshs) [![GitHub issues](https://img.shields.io/github/issues-raw/patrickhener/goshs)](https://github.com/patrickhener/goshs/issues) diff --git a/main.go b/main.go index c7471f6..3797a52 100644 --- a/main.go +++ b/main.go @@ -16,8 +16,7 @@ import ( "github.com/patrickhener/goshs/utils" ) -// const goshsVersion = "v0.4.1" -const goshsVersion = "v0.4.0" +const goshsVersion = "v0.4.2" var ( port = 8000 diff --git a/update/update.go b/update/update.go index 9bfe30d..198a6ac 100644 --- a/update/update.go +++ b/update/update.go @@ -15,14 +15,14 @@ import ( const ( owner = "patrickhener" repo = "goshs" - GOSHS_WINDOWS_64 = "goshs_windows_x86_64.tar.gz" - GOSHS_WINDOWS_32 = "goshs_windows_386.tar.gz" - GOSHS_WINDOWS_ARM = "goshs_windows_arm64.tar.gz" - GOSHS_LINUX_64 = "goshs_linux_x86_64.tar.gz" - GOSHS_LINUX_32 = "goshs_linux_386.tar.gz" - GOSHS_LINUX_ARM = "goshs_linux_arm64.tar.gz" - GOSHS_DARWIN_64 = "goshs_darwin_x86_64.tar.gz" - GOSHS_DARWIN_ARM = "goshs_darwin_arm64.tar.gz" + GOSHS_WINDOWS_64 = "goshs_windows_x86_64.exe" + GOSHS_WINDOWS_32 = "goshs_windows_386.exe" + GOSHS_WINDOWS_ARM = "goshs_windows_arm64.exe" + GOSHS_LINUX_64 = "goshs_linux_x86_64" + GOSHS_LINUX_32 = "goshs_linux_386" + GOSHS_LINUX_ARM = "goshs_linux_arm64" + GOSHS_DARWIN_64 = "goshs_darwin_x86_64" + GOSHS_DARWIN_ARM = "goshs_darwin_arm64" ) func CheckForUpdates(version string) (bool, string) {