File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -111,19 +111,20 @@ builds:
111
111
ldflags :
112
112
- -v # verbose is useful
113
113
114
- # - id: windows-amd64
115
- # binary: walletshield
116
- # main: ./apps/walletshield
117
- # goarch:
118
- # - amd64
119
- # goos:
120
- # - windows
121
- # env:
122
- # - CC=x86_64-w64-mingw32-gcc
123
- # - CXX=x86_64-w64-mingw32-g++
124
- # flags:
125
- # - -trimpath
126
- # - -buildmode=exe
114
+ - id : windows-amd64
115
+ binary : walletshield
116
+ main : ./apps/walletshield
117
+ goarch :
118
+ - amd64
119
+ goos :
120
+ - windows
121
+ env :
122
+ - CC=x86_64-w64-mingw32-gcc
123
+ - CXX=x86_64-w64-mingw32-g++
124
+ - CGO_LDFLAGS="-Wl,--allow-multiple-definition"
125
+ flags :
126
+ - -trimpath
127
+ - -buildmode=exe
127
128
128
129
# - id: windows-386
129
130
# binary: walletshield
@@ -154,9 +155,8 @@ builds:
154
155
# - -buildmode=exe
155
156
156
157
upx :
157
- -
158
- enabled : true
159
- goos : [linux, darwin]
158
+ - enabled : true
159
+ goos : [linux, darwin, windows]
160
160
goarch : [arm64, amd64]
161
161
compress : best
162
162
lzma : true
@@ -176,8 +176,8 @@ archives:
176
176
- linux-amd64
177
177
- linux-arm64
178
178
- darwin-universal
179
+ - windows-amd64
179
180
# - linux-armhf
180
- # - windows-amd64
181
181
# - windows-386
182
182
# - windows-arm64
183
183
name_template : >-
You can’t perform that action at this time.
0 commit comments