JDDKCN / teyvat-helper-hk4e-emu

HK4E Emulators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hk4e-emu

HK4E Emulators

Build binaries

Quick start

Setup your golang environment, then run the following commands to build binaries.

mkdir -p $GOPATH/src/github.com/teyvat-helper
cd $GOPATH/src/github.com/teyvat-helper
git clone https://github.com/teyvat-helper/hk4e-emu.git
cd hk4e-emu
go build -trimpath -ldflags "-s -w" -o bin/client cmd/client/main.go
go build -trimpath -ldflags "-s -w" -o bin/server cmd/server/main.go
# the binaries are in bin/ directory.

Alternatively, use the go work command to replace hk4e-proto module with your own version.

mkdir -p $GOPATH/src/github.com/teyvat-helper
cd $GOPATH/src/github.com/teyvat-helper
git clone https://github.com/qinastar/hk4e-emu.git
# Place your hk4e-proto directory in the same directory as hk4e-emu.
go work init
go work use hk4e-emu
go work use hk4e-proto
cd hk4e-emu
go build -trimpath -ldflags "-s -w" -o bin/client cmd/client/main.go
go build -trimpath -ldflags "-s -w" -o bin/server cmd/server/main.go
# the binaries are in bin/ directory, with your hk4e-proto.

Note: The go work command is only available in Go 1.17 or later.

Action artifacts

Choose one of the artifacts from the nightly.link for GitHub:

Platform Arch Artifact
macOS Intel Chip darwin/amd64 hke4-emu_darwin_amd64.zip
macOS Apple Silicon darwin/arm64 hke4-emu_darwin_arm64.zip
Linux 32 bit linux/386 hke4-emu_linux_386.zip
Linux 64 bit linux/amd64 hke4-emu_linux_amd64.zip
Linux ARM linux/arm hke4-emu_linux_arm.zip
Linux ARM 64 linux/arm64 hke4-emu_linux_arm64.zip
Windows 32 bit windows/386 hke4-emu_windows_386.zip
Windows 64 bit windows/amd64 hke4-emu_windows_amd64.zip
Windows ARM windows/arm hke4-emu_windows_arm.zip
Windows ARM 64 windows/arm64 hke4-emu_windows_arm64.zip

Configuration

License

Apache License 2.0

Copyright 2022 Teyvat Helper Team and contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

HK4E Emulators

License:Apache License 2.0


Languages

Language:Go 100.0%