From 691bd714806bc232f48491357e1aa52ebe8d820c Mon Sep 17 00:00:00 2001 From: OpenWaygate <27287694+OpenWaygate@users.noreply.github.com> Date: Sat, 18 Oct 2025 23:27:19 +0800 Subject: [PATCH] :package: Update winres arch and bazel commands --- docs/CONTRIBUTING.md | 3 ++- main.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index f3aad2a..1dd777e 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -68,7 +68,8 @@ dist ❯ bazel mod tidy ❯ bazel build //:yutu # build the binary for the current platform ❯ bazel build //... # build all targets -❯ bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //:yutu +❯ bazel build --platforms=@rules_go//go/toolchain:linux_amd64 //:yutu +❯ bazel cquery --output=files //:yutu-linux-amd64 ❯ tree -L 1 bazel-bin/yutu_ bazel-bin/yutu_ diff --git a/main.go b/main.go index 8ae6308..d44dfcb 100644 --- a/main.go +++ b/main.go @@ -29,7 +29,7 @@ import ( _ "github.com/eat-pray-ai/yutu/cmd/watermark" ) -//go:generate go-winres make --arch amd64 --product-version git-tag --file-version git-tag +//go:generate go-winres make --arch amd64,arm64 --product-version git-tag --file-version git-tag func main() { cmd.Execute() }