mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
2 lines
7.4 KiB
JavaScript
2 lines
7.4 KiB
JavaScript
import{_ as r,r as l,o as i,c as s,a as e,b as t,d as o,e as c}from"./app-CtnjWF_9.js";const d={},u=e("h1",{id:"contribute-your-code",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#contribute-your-code"},[e("span",null,"Contribute Your Code")])],-1),p=e("p",null,"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.",-1),h={href:"https://github.com/DGP-Studio/Snap.Hutao/issues?q=is%3Aissue+is%3Aopen+-label%3A%E5%B7%B2%E4%BF%AE%E5%A4%8D+",target:"_blank",rel:"noopener noreferrer"},m={id:"setup-snap-hutao-project",tabindex:"-1"},b={class:"header-anchor",href:"#setup-snap-hutao-project"},g={href:"https://visualstudio.microsoft.com/downloads/",target:"_blank",rel:"noopener noreferrer"},_=c("<li>Open Visual Studio Installer to complete Visual Studio installation <ul><li>You need to install <code>.NET desktop development</code>, <code>Desktop development with C++</code> and <code>Universal Windows Platform development</code> components</li></ul></li><li>Install <code>Single-project MSIX Packaging Tools for VS 2022</code> provided by Microsoft in Visual Studio marketplace</li><li>Use git to clone the project <code>https://github.com/DGP-Studio/Snap.Hutao.git</code> to your local device</li><li>Switch git branch to <code>develop</code></li><li>Open project solution with your Visual Studio and then you are ready to go</li>",5),f={id:"enable-debug",tabindex:"-1"},y={class:"header-anchor",href:"#enable-debug"},S=e("code",null,"Sysinternals Suite",-1),k={href:"https://www.microsoft.com/store/productid/9P7KNL5RWT25",target:"_blank",rel:"noopener noreferrer"},v={href:"https://learn.microsoft.com/en-us/sysinternals/downloads/sysinternals-suite",target:"_blank",rel:"noopener noreferrer"},w=e("li",null,[t("Locate and run "),e("code",null,"DebugView"),t(" program in the installed app list or unzipped folder")],-1),C=e("li",null,"Run Snap Hutao client",-1),P=e("li",null,"Check DebugView output",-1),H={id:"start-pull-request",tabindex:"-1"},D={class:"header-anchor",href:"#start-pull-request"},T=e("li",null,[t("All code-related changes from authors' own branches are only allowed be merged to "),e("code",null,"develop"),t(" branch")],-1),x={href:"https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests",target:"_blank",rel:"noopener noreferrer"},A=e("code",null,"main",-1),j={id:"test-binary-package",tabindex:"-1"},E={class:"header-anchor",href:"#test-binary-package"},V=e("p",null,[t("Once the code in updated in "),e("code",null,"develop"),t(" and "),e("code",null,"main"),t(" branches, a GitHub actions script will build the latest code to "),e("code",null,"Snap Hutao Alpha"),t(" package. You can find all build records in alpha actions pipeline.")],-1),G={href:"https://github.com/DGP-Automation/Hutao-Auto-Release/releases/download/certificate-ca/DGP_Studio_CA.crt",target:"_blank",rel:"noopener noreferrer"},I=e("code",null,"Trusted Root Certification Authorities",-1);function N(R,Y){const n=l("ExternalLinkIcon"),a=l("HopeIcon");return i(),s("div",null,[u,p,e("p",null,[t("You can find all "),e("a",h,[t("unsolved opened issues"),o(n)]),t(" on GitHub")]),e("h2",m,[e("a",b,[e("span",null,[o(a,{icon:"iconfont icon-visual-studio",size:"1.5rem",color:"rgb(193,142,241)"}),t(" Setup Snap.Hutao Project")])])]),e("ol",null,[e("li",null,[t("Download and install "),e("a",g,[t("Visual Studio 2022 Community"),o(n)])]),_]),e("h2",f,[e("a",y,[e("span",null,[o(a,{icon:"iconfont icon-debug",size:"1.5rem",color:"rgb(73,156,84)"}),t(" Enable Debug")])])]),e("ol",null,[e("li",null,[t("Download and install "),S,t(" from "),e("a",k,[t("Microsoft Store"),o(n)]),t(" or "),e("a",v,[t("Microsoft website"),o(n)])]),w,C,P]),e("h2",H,[e("a",D,[e("span",null,[o(a,{icon:"iconfont icon-pull-request",size:"1.5rem",color:"rgb(130,80,223)"}),t(" Start Pull Request")])])]),e("ul",null,[T,e("li",null,[t("Please use "),e("a",x,[t("keywords"),o(n)]),t(" to link your PR or commits with issues, so issues can be automatically closed once commits are merged into "),A,t(" branch.")])]),e("h2",j,[e("a",E,[e("span",null,[o(a,{icon:"iconfont icon-build-package",size:"1.5rem",color:"rgb(254,189,105)"}),t(" Test Binary Package")])])]),V,e("p",null,[t("You need to install "),e("a",G,[t("Snap Hutao CA certificate"),o(n)]),t(" as "),I,t(" to allow Alpha versions be installed.")])])}const z=r(d,[["render",N],["__file","contribute.html.vue"]]),B=JSON.parse('{"path":"/en/development/contribute.html","title":"Contribute Your Code","lang":"en-US","frontmatter":{"category":["open source","development"],"tag":["development","GitHub"],"icon":"iconfont icon-code","order":3,"description":"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 foll...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/development/contribute.html"}],["link",{"rel":"alternate","hreflang":"id-id","href":"https://hut.ao/id/development/contribute.html"}],["link",{"rel":"alternate","hreflang":"ru-ru","href":"https://hut.ao/ru/development/contribute.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/development/contribute.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Contribute Your Code"}],["meta",{"property":"og:description","content":"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 foll..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"id-ID"}],["meta",{"property":"og:locale:alternate","content":"ru-RU"}],["meta",{"property":"og:updated_time","content":"2023-12-22T05:58:32.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:tag","content":"development"}],["meta",{"property":"article:tag","content":"GitHub"}],["meta",{"property":"article:modified_time","content":"2023-12-22T05:58:32.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Contribute Your Code\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-12-22T05:58:32.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"],["link",{"rel":"alternate","type":"application/rss+xml","href":"https://hut.ao/en/rss.xml","title":"Snap Hutao RSS Feed"}]]},"headers":[{"level":2,"title":"Setup Snap.Hutao Project","slug":"setup-snap-hutao-project","link":"#setup-snap-hutao-project","children":[]},{"level":2,"title":"Enable Debug","slug":"enable-debug","link":"#enable-debug","children":[]},{"level":2,"title":"Start Pull Request","slug":"start-pull-request","link":"#start-pull-request","children":[]},{"level":2,"title":"Test Binary Package","slug":"test-binary-package","link":"#test-binary-package","children":[]}],"git":{"createdTime":1697095418000,"updatedTime":1703224712000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":5}]},"readingTime":{"minutes":1.28,"words":383},"filePathRelative":"en/development/contribute.md","localizedDate":"October 12, 2023","autoDesc":true}');export{z as comp,B as data};
|