chore: try building differently (slightly)
All checks were successful
Cross-Compile Binaries / compile-linux (push) Successful in 4m25s
Cross-Compile Binaries / compile-windows (push) Successful in 16m8s

This commit is contained in:
2025-11-27 12:07:26 +01:00
parent 9c32ac19b7
commit d1d4aedc86
3 changed files with 8 additions and 0 deletions

View File

@@ -71,6 +71,12 @@ jobs:
libxi-dev libxcursor-dev libxinerama-dev libglfw3-dev \
libxxf86vm-dev gcc-mingw-w64 gcc-multilib
- name: Install go binary
run: |
go install github.com/tc-hib/go-winres@latest
env:
GOBIN: /usr/local/bin
- name: Compile the fyne application for Windows
run: |
export CGO_ENABLED=1
@@ -79,6 +85,7 @@ jobs:
export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++
export CGO_LDFLAGS="-static-libgcc -static-libstdc++"
go-winres simply --icon icon.png --manifest gui
go build -o ./pkcs-generator.exe -ldflags -H=windowsgui .
- name: upload the building actifacts

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
!*.*
!*/
*.exe
*.syso

View File

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB