From da2dac7901c0ce268ec80d8f52a626f91ea7560f Mon Sep 17 00:00:00 2001 From: BaiMeow Date: Fri, 1 Dec 2023 22:25:44 +0800 Subject: [PATCH] fix: use upx -9 --- .goreleaser.yaml | 2 +- cmd/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fc94b58..a191b74 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -61,7 +61,7 @@ upx: # Compress argument. # Valid options are from '1' (faster) to '9' (better), and 'best'. - compress: best + compress: '9' # Whether to try LZMA (slower). lzma: true diff --git a/cmd/version.go b/cmd/version.go index 21fd523..d8bd2b7 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -14,7 +14,7 @@ var versionCmd = &cobra.Command{ Short: "Print the version number of wg-quick-op", Long: `All software has versions. This is wg-quick-op's`, Run: func(cmd *cobra.Command, args []string) { - fmt.Printf("Wireguard Quick for Openwrt %s\n", version) + fmt.Printf("wg-quick-op v%s\n", version) }, }