* update * win10 uninstall * add notes about root * format * modify * update * Update FAQ.md * Update navbar * Update docs * Update Gacha-system-and-export-principal.md * correct * update * disambig * update * add warning for auto-start (need re-update) * update * add a tabular for showing differences in each way for sync * center tabular * switch to md format * update vs * add some * RE-update tabualr * update * correct * update * move web login to the end * Update game-launcher.md * Update docs * Update character-data.md --------- Co-authored-by: LinkChou <linkchou@yandex.com> Co-authored-by: Masterain <i@irain.in>
3.3 KiB
category, tag, icon, order, description, banner
| category | tag | icon | order | description | banner | ||||
|---|---|---|---|---|---|---|---|---|---|
|
|
iconfont icon-code | 3 | Snap Hutao is developed using C# and the .NET framework for both the desktop client and the server. We greatly appreciate feedback from the open-source community, and if you're willing to contribute your code, please refer to the instructions in the documentation on this page. | https://opengraph.snapgenshin.cn/generate?url=https://hut.ao/en/development/contribute.html |
Contribute Your Code
Snap Hutao is using C# and .NET Framework to develop both client and server. If you are willing to contribute your code to the project, please read the following guidelines.
You can find all unsolved opened issues on GitHub
Setup Snap.Hutao Project
- Download and install Visual Studio 2022
- Open Visual Studio Installer to complete Visual Studio installation
- You need to install
.NET desktop development,Desktop development with C++andWindows application developmentcomponents
- You need to install
- Install
Single-project MSIX Packaging Tools for VS 2022provided by Microsoft in Visual Studio marketplace - Use git to clone the project
https://github.com/DGP-Studio/Snap.Hutao.gitto your local device - Switch git branch to
develop - Open project solution with your Visual Studio and then you are ready to go
Enable Debug
- Download and install
Sysinternals Suitefrom Microsoft Store or Microsoft website - Locate and run
DebugViewprogram in the installed app list or unzipped folder - Run Snap Hutao client
- Check DebugView output
Start Pull Request
- All code-related changes from authors' own branches are only allowed be merged to
developbranch - Please use keywords to link your PR or commits with issues, so issues can be automatically closed once commits are merged into
mainbranch.
Test Binary Package
::: warning
You need to install DGP-Studio CA certificate as Trusted Root Certification Authorities to allow Alpha versions be installed.
:::
Once you push, a GitHub Actions script will automatically run to build the latest solution for your branch. If the branch name is one of the main, develop, or feat branches, the script will also automatically upload the Snap Hutao Alpha archive of its build for testing; other branches will only validate buildability and will not provide an upload.
You can find the full build log in the Snap Hutao Alpha pipeline.