From 217d6c99e903b982a3a73cf595d40ffa96d6167a Mon Sep 17 00:00:00 2001 From: Anye <53684988+anye1844@users.noreply.github.com> Date: Wed, 19 Jul 2023 13:09:52 +0800 Subject: [PATCH 1/2] Update FAQ.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新快捷方式图标来源方法,直接引用应用图标,防止出现下载的图标文件被删除后快捷方式无图标的现象 --- docs/zh/advanced/FAQ.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/zh/advanced/FAQ.md b/docs/zh/advanced/FAQ.md index 57b39d9f3..418087413 100644 --- a/docs/zh/advanced/FAQ.md +++ b/docs/zh/advanced/FAQ.md @@ -32,8 +32,6 @@ comment: false Start-Process shell:AppsFolder\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas ``` -- 保存胡桃工具箱的 Logo 资源 - - 你可以点击[这里](https://github.com/DGP-Studio/Snap.Hutao/raw/main/src/Snap.Hutao/Snap.Hutao/Assets/Logo.ico)下载 - 在桌面点击右键,选择`新建` -> `快捷方式` - 在`请键入对象的位置`中直接输入: @@ -45,7 +43,7 @@ Start-Process shell:AppsFolder\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb - 确认创建,此时你会在桌面得到一个有 PowerShell 图标的快捷方式 - 右键该快捷方式,点击属性 - 将`运行方式`修改为`最小化` - - 点击更改图标,选择`浏览`,并选中刚刚下载的图标 + - 点击更改图标,选择`浏览`,并填写:`%ProgramFiles%\WindowsApps\60568DGPStudio.SnapHutao_1.6.6.0_x64__ebfp3nyc27j86\Snap.Hutao.exe`,回车确认保存 - 这样你就获得了胡桃工具箱的桌面快捷方式,并且运行它将直接以管理员模式运行 - 你也可以将固定到任务栏或磁贴区 From db3ddceefc10dccce04c966cd2871143c1f6622f Mon Sep 17 00:00:00 2001 From: Masterain Date: Tue, 18 Jul 2023 22:27:29 -0700 Subject: [PATCH 2/2] Update FAQ.md (en) --- docs/en/advanced/FAQ.md | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/docs/en/advanced/FAQ.md b/docs/en/advanced/FAQ.md index 1644ca1e7..dd7d1dd54 100644 --- a/docs/en/advanced/FAQ.md +++ b/docs/en/advanced/FAQ.md @@ -34,11 +34,8 @@ Fundamental principle: Use the following PowerShell scrip can run Snap Hutao wit Start-Process shell:AppsFolder\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas ``` -- Save Snap Hutao logo to your device - - You can find it [here](https://github.com/DGP-Studio/Snap.Hutao/raw/main/src/Snap.Hutao/Snap.Hutao/Assets/Logo.ico) - - It is expected to see a blank image in the browser - In your desktop, select `New` -> `Shortcut` -- In the field of `Type the location of the item`, input: +- In the field of `Type the location of the item`, input: ```PowerShell ts:no-line-numbers powershell -Command "Start-Process shell:AppsFolder\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas @@ -48,7 +45,8 @@ powershell -Command "Start-Process shell:AppsFolder\60568DGPStudio.SnapHutao_ebf - Confirm the creation, and you will get this shortcut with PowerShell logo - Right-click on this shortcut, select `Properties` - Change value of `Run` to `Minimized` - - Select `Change Icon`, and select the icon you just downloaded + - Select `Change Icon`, fill the blank with `%ProgramFiles%\WindowsApps\60568DGPStudio.SnapHutao_1.6.6.0_x64__ebfp +3nyc27j86\Snap.Hutao.exe` and save the configuration - Now, you get a shortcut of Snap Hutao with Administrator privilege - You can also pin it to task bar or start menu @@ -82,14 +80,14 @@ Refer to [HttpRequestException Error (502)](exceptions.html#_502-bad-gateway) do ## MiHoYo BBS Account often Lose Login Status -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. +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. +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, +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 ## Game Account Lose Login Status in the Launcher @@ -104,8 +102,8 @@ this may cause Snap Hutao failed to check validation of the cookie ## Snap Hutao Throws Failed to add Scheduled Task Error -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 +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. @@ -113,7 +111,7 @@ Run Snap Hutao as Administrator to edit your settings to solve this issue. ## Stuck at `Installing Required Framework` when Using MSIX Package to Install - When user's OS missing required dependency framework, Windows will download and install it automatically. -However, if the user disabled Windows Update or have a bad network, the system is unable to process this installation. + However, if the user disabled Windows Update or have a bad network, the system is unable to process this installation. - Make sure Windows Update is enabled; Snap Hutao's update also relies on it - You can also download and install the [dependency](ttps://d.hut.ao/releases/Dependency) manually @@ -121,6 +119,6 @@ However, if the user disabled Windows Update or have a bad network, the system i > This issue only occurs in Windows 10 older than 22H2 version -- When user's OS version older than `Windows Build 19045` (aka Windows 10 22H2), Snap Hutao is unable to start when -running as Administrator - - This issue comes from Windows kernel, and it's hard to locate, so we suggest you to update your OS to the latest version \ No newline at end of file +- When user's OS version older than `Windows Build 19045` (aka Windows 10 22H2), Snap Hutao is unable to start when + running as Administrator + - This issue comes from Windows kernel, and it's hard to locate, so we suggest you to update your OS to the latest version