mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
4 lines
5.5 KiB
JavaScript
4 lines
5.5 KiB
JavaScript
import{ac as s,H as r,I as c,F as e,V as l,O as o,ae as d,ad as n,Y as i}from"./framework-3390b3d8.js";const h={},u=e("h1",{id:"如何",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#如何","aria-hidden":"true"},"#"),l(" 如何...")],-1),p=e("p",null,"这篇文档将会列出一些最常见的以“如何”开头的问题",-1),_=e("h2",{id:"如何创建胡桃的桌面快捷方式",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#如何创建胡桃的桌面快捷方式","aria-hidden":"true"},"#"),l(" 如何创建胡桃的桌面快捷方式")],-1),g={class:"hint-container tip"},S=e("p",{class:"hint-container-title"},"社区力量",-1),f={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12",target:"_blank",rel:"noopener noreferrer"},m=n('<ul><li><code>Win+R</code> 呼出运行窗口,在窗口中输入<code>shell:AppsFolder</code><img src="https://img.alicdn.com/imgextra/i3/1797064093/O1CN01Jj8c6i1g6du728e5A_!!1797064093.png" alt="Run" loading="lazy"></li><li>Windows 会弹出应用程序目录,找到胡桃工具箱</li><li>右键,点击<code>创建快捷方式</code></li><li>根据提示操作你就可以获得一个桌面快捷方式了</li></ul><h2 id="如何添加一个默认以管理员方式运行的快捷方式" tabindex="-1"><a class="header-anchor" href="#如何添加一个默认以管理员方式运行的快捷方式" aria-hidden="true">#</a> 如何添加一个默认以管理员方式运行的快捷方式</h2>',2),x={class:"hint-container tip"},b=e("p",{class:"hint-container-title"},"社区力量",-1),P={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/17",target:"_blank",rel:"noopener noreferrer"},w=e("p",null,"基本原理:使用下方的 PowerShell 脚本可以以管理员方式运行胡桃",-1),H=e("div",{class:"language-PowerShell","data-ext":"PowerShell"},[e("pre",{class:"language-PowerShell"},[e("code",null,`Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas
|
|
`)])],-1),k={href:"https://github.com/DGP-Studio/Snap.Hutao/raw/main/src/Snap.Hutao/Snap.Hutao/Assets/Logo.ico",target:"_blank",rel:"noopener noreferrer"},v=e("li",null,[l("在桌面点击右键,选择"),e("code",null,"新建"),l(" -> "),e("code",null,"快捷方式")],-1),A=e("li",null,[l("在"),e("code",null,"请键入对象的位置"),l("中直接输入:")],-1),D=n(`<div class="language-PowerShell" data-ext="PowerShell"><pre class="language-PowerShell"><code> powershell -WindowStyle Hidden -Command "Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas
|
|
</code></pre></div><ul><li>将快捷方式命名为你需要的名称,比如<code>Snap Hutao</code></li><li>确认创建,此时你会在桌面得到一个有 PowerShell 图标的快捷方式</li><li>右键该快捷方式,点击属性 <ul><li>将<code>运行方式</code>修改为<code>最小化</code></li><li>点击更改图标,选择<code>浏览</code>,并选中刚刚下载的图标</li></ul></li><li>这样你就获得了胡桃工具箱的桌面快捷方式,并且运行它将直接以管理员模式运行 <ul><li>你也可以将固定到任务栏或磁贴区</li></ul></li></ul><h2 id="如何让胡桃工具箱开机自动启动" tabindex="-1"><a class="header-anchor" href="#如何让胡桃工具箱开机自动启动" aria-hidden="true">#</a> 如何让胡桃工具箱开机自动启动</h2>`,3),N={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/184",target:"_blank",rel:"noopener noreferrer"},C=e("li",null,[l("设置一个"),e("strong",null,"计划任务程序"),l("令上述批处理文件开机自启,或将上述批处理文件加入"),e("strong",null,"启动项"),l("中")],-1),G=e("li",null,"或有其他令胡桃工具箱可开机自启的思路,可自行探索",-1),L=n('<h2 id="如何通过胡桃工具箱快速地启动游戏" tabindex="-1"><a class="header-anchor" href="#如何通过胡桃工具箱快速地启动游戏" aria-hidden="true">#</a> 如何通过胡桃工具箱快速地启动游戏</h2><ul><li><p>在主程序中正确设置高级启动器功能</p></li><li><p>将胡桃工具箱在系统中固定在快速启动栏中</p></li><li><p>在快速启动栏中右键胡桃应用程序</p><p><img src="https://img.alicdn.com/imgextra/i3/1797064093/O1CN01Uu8QzN1g6du6MRp8h_!!1797064093.png" alt="quick-start" loading="lazy"></p></li><li><p>选择<code>启动游戏</code>即可</p></li></ul><h2 id="如何通过网络代理使用胡桃工具箱" tabindex="-1"><a class="header-anchor" href="#如何通过网络代理使用胡桃工具箱" aria-hidden="true">#</a> 如何通过网络代理使用胡桃工具箱</h2>',3);function R(V,y){const t=i("ExternalLinkIcon"),a=i("RouterLink");return r(),c("div",null,[u,p,_,e("div",g,[S,e("p",null,[l("感谢 "),e("a",f,[l("CzHUV 提供的解决方案"),o(t)])])]),m,e("div",x,[b,e("p",null,[l("感谢 "),e("a",P,[l("Parsifa1 提供的解决方案"),o(t)])])]),w,H,e("ul",null,[e("li",null,[l("保存胡桃工具箱的 Logo 资源 "),e("ul",null,[e("li",null,[l("你可以点击"),e("a",k,[l("这里"),o(t)]),l("下载")])])]),v,A]),D,e("ul",null,[e("li",null,[l("请参考如下思路 "),e("ul",null,[e("li",null,[l("可以自行创建一个批处理文件,内容参考"),e("a",N,[l("此issue"),o(t)]),l("中,令胡桃以管理员模式直接运行的命令。")]),C])]),G]),L,e("p",null,[l("参考 "),o(a,{to:"/FAQ/exceptions.html#httprequestexception"},{default:d(()=>[l("HttpRequestException 错误")]),_:1}),l(" 文档")])])}const q=s(h,[["render",R],["__file","how-to.html.vue"]]);export{q as default};
|