import{_ as c}from"./plugin-vue_export-helper-x3n3nnut.js";import{r,o as h,c as p,a as e,b as t,d as a,w as o,e as l}from"./app-DLdAQsjV.js";const g={},m=e("h1",{id:"faq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faq","aria-hidden":"true"},"#"),t(" FAQ")],-1),f=e("h2",{id:"how-to-create-desktop-shortcut-with-no-admin-privilege",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-to-create-desktop-shortcut-with-no-admin-privilege","aria-hidden":"true"},"#"),t(" How to create desktop shortcut (with no admin privilege)")],-1),w={class:"hint-container tip"},b=e("p",{class:"hint-container-title"},"Community Power",-1),v={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12",target:"_blank",rel:"noopener noreferrer"},k=l('
Win+R to start run, in the window input shell:AppsFolder 
Create shortcutStarting from Snap Hutao 1.7.4, you can create a desktop shortcut with Administrator privilege by click Create Desktop Shortcut in the settings page.
You can move this shortcut to any place you need.
This is a workaround solution
',6),_={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/184",target:"_blank",rel:"noopener noreferrer"},y=e("li",null,"Create a Scheduled Task, run the bat when Windows startup, or drag it to Windows start folder",-1),S=l('Config the game launcher in the settings
Pin Snap Hutao on taskbar
Right click on Snap Hutao and you will see the quick launcher

Select Lauch Game, you will be asked which account to start the game
Snap Hutao use saved MiHoYo BBS cookies to maintain login status. If you log out your account in your browser or other device, cookie will become invalid, and Snap Hutao will also be forced to log out, account will be automatically removed.
This problem may also be caused by network error, you should check this first; If it's not caused by network issue, you can use Refresh Cookie in the account panel; You can also remove your account manually and add it back again.
Since October 2022, MiYouShe (Chinese BBS) rapidly increased bot detection and may set users' account as under-risk status, this may cause Snap Hutao failed to check validation of the cookie
If you are using Administrator privilege to start real-time notes feature, Snap Hutao's scheduled task will be created as Administrator role. When next time edit real-time notes settings without Administrator privilege, the program will have a lack of privilege to edit the settings and throw out this error.
Run Snap Hutao as Administrator to edit your settings to solve this issue.
Installing Required Framework when Using MSIX Package to InstallThis issue only occurs in Windows 10 older than 22H2 version
Windows Build 19045 (aka Windows 10 22H2), Snap Hutao is unable to start when running as Administrator config.ini Configuration FileIn some particular conditions (such as wrong game folder permission), config.ini may lose after server conversion. This will cause user not able to get into advanced launcher page and launch the game.
After identify the server version on your device, you can manually create and fill the configuration file with the right content. The following are common configurations.
',17),I=e("div",{class:"language-text line-numbers-mode","data-ext":"text"},[e("pre",{class:"language-text"},[e("code",null,`[General] channel=1 cps=mihoyo game_version=4.1.0 sub_channel=1 plugin_7_version=1.0.0 `)]),e("div",{class:"line-numbers","aria-hidden":"true"},[e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"})])],-1),T=e("div",{class:"language-text line-numbers-mode","data-ext":"text"},[e("pre",{class:"language-text"},[e("code",null,`[General] channel=1 cps=mihoyo game_version=4.1.0 sub_channel=0 plugin_7_version=1.0.0 `)]),e("div",{class:"line-numbers","aria-hidden":"true"},[e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"})])],-1),W=e("h2",{id:"how-to-fully-backup-recover-client-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-to-fully-backup-recover-client-data","aria-hidden":"true"},"#"),t(" How to Fully Backup/Recover Client Data")],-1),R=e("div",{class:"hint-container warning"},[e("p",{class:"hint-container-title"},"Data Security Warning"),e("p",null,[e("code",null,"Userdata.db"),t(" contains all client data, including MiHoYO BBS Cookie, please save the data file properly and do NOT share it with anyone.")])],-1),q=e("p",null,[t("Copy "),e("code",null,"Userdata.db"),t(" from Snap Hutao data folder ("),e("code",null,"%userprofile%/Documents/Hutao"),t(" by default) to your backup location, this file contains entire data of the client.")],-1);function B(M,O){const d=r("RouterLink"),i=r("ExternalLinkIcon"),u=r("Tabs");return h(),p("div",null,[m,e("p",null,[t("If the following answers can not solve your issue, feel free to "),a(d,{to:"/ru/statements/bug-report.html"},{default:o(()=>[t("report bug to us")]),_:1}),t("!")]),f,e("div",w,[b,e("p",null,[t("Thanks to "),e("a",v,[t("solution provided by CzHUV"),a(i)]),t("。")])]),k,e("ul",null,[e("li",null,[t("Create a bat file, content refers to "),e("a",_,[t("this Issue"),a(i)]),t(", it allows bat to run Snap Hutao with Administrator privilege")]),y]),S,e("p",null,[t("Refer to "),a(d,{to:"/ru/advanced/exceptions.html#_502-bad-gateway"},{default:o(()=>[t("HttpRequestException Error (502)")]),_:1}),t(" document")]),x,e("ul",null,[H,e("li",null,[t("You can find this font from "),e("a",C,[t("Microsoft"),a(i)])])]),A,a(u,{id:"247",data:[{id:"CN Server Official"},{id:"Global Server Official"}],"tab-id":"game_config_samples"},{title0:o(({value:n,isActive:s})=>[t("CN Server Official")]),title1:o(({value:n,isActive:s})=>[t("Global Server Official")]),tab0:o(({value:n,isActive:s})=>[I]),tab1:o(({value:n,isActive:s})=>[T]),_:1}),W,R,q])}const U=c(g,[["render",B],["__file","FAQ.html.vue"]]);export{U as default};