Closed Mohsen6558 closed 1 year ago
You need to build the UI before building the Go binary. https://gotify.net/docs/build
thanks for answer on try build ui we see this error:
and after that how build for windows? please check this image
Have a look at existing tickets. https://github.com/gotify/server/issues/574
and after that how build for windows? please check this image
what's the problem? Describe what you expect and what you want.
we have error on yarn build and we don't know how set flags for build Windows 64x
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/set_1
Building gotify is for experienced users. You can download the built binary for windows here https://github.com/gotify/server/releases/latest
Hi I'm windows user and noob on Go we changed in source code but on windows CMD how we can build EXE file?
I use this code: go build -ldflags="-w -s -X main.Version=$(git describe --tags | cut -c 2-) -X main.BuildDate=$(date "+%F-%T") -X main.Commit=$(git rev-parse --verify HEAD) -X main.Mode=prod" -o gotify-server
but see this error: ui\serve.go:15:12: pattern build/*: no matching files found
go version go1.21.3 windows/amd64
thanks