Skip to content

Commit 7eee84d

Browse files
committed
examples: try fix wowjump 7 .#20
1 parent f10b4c5 commit 7eee84d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@ jobs:
3939
cd examples/simple;
4040
windres -i emptyProject/Debug/resource.res -O coff -o vsui.syso;
4141
go build -ldflags="-s -w -H windowsgui"
42-
42+
- name: Install go-winres
43+
run: go install github.com/tc-hib/go-winres@latest
4344
# 取消 winres调用。 生成的资源文件会变成乱码,暂时不知道如果解决。 发布 wowjump release之前需要手动生成 ui.syso.
4445
# windres -i ui/ui.rc -O coff -o ui.syso;
4546
- name: check wowjump
4647
run:
4748
cd examples/wowjump;
49+
go-winres make --in ui/ui.rc --out ui.syso --arch amd64;
4850
go generate;
4951
go build -ldflags="-s -w -H windowsgui"
5052

0 commit comments

Comments
 (0)