mirror of
https://github.com/wangdage12/Snap.Hutao.git
synced 2026-02-18 02:42:15 +08:00
Compare commits
6 Commits
1.17.4.0
...
1.18.0.0_T
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
068eb65fef | ||
|
|
09a8cded2f | ||
|
|
c38fdf30d0 | ||
|
|
bc1ff03d0a | ||
|
|
b288860c3b | ||
|
|
1e40a6e576 |
43
README.md
43
README.md
@@ -6,6 +6,8 @@
|
||||
|
||||
该版本注入功能暂不可用,并且由于缺失资源和开发能力,不建议长期使用
|
||||
|
||||
有条件的话可以加入discord服务器:https://discord.gg/ucH3mgeWpQ
|
||||
|
||||
**English**
|
||||
Snap Hutao is an open-source Genshin Impact toolkit under MIT license, designed for modern Windows platform to improve the gaming experience for desktop players.
|
||||
|
||||
@@ -25,28 +27,16 @@ Snap Hutao is an open-source Genshin Impact toolkit under MIT license, designed
|
||||
项目启动位置已升级为 VS2026 的 slnx 格式 Snap.Hutao\src\Snap.Hutao\Snap.Hutao.slnx
|
||||
> [!WARNING]
|
||||
> 要使该项目可以长期运行,我们需要以下资源
|
||||
> 1. `src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/DataSigning/SaltConstants.cs`中的新签名值
|
||||
> 2. 元数据的编写
|
||||
> 3. 图片资源
|
||||
> 1. 元数据的编写
|
||||
> 2. 图片资源
|
||||
|
||||
已同步原作者的元数据
|
||||
|
||||
V6.2的元数据已在编写中
|
||||
测试仓库位置:http://server.wdg.cloudns.ch:3000/wdg1122/Snap.Metadata.Test
|
||||
**目前元数据的编写进度:**
|
||||
|
||||
| 项目(V6.2) | 是否完成 |
|
||||
| ----------- | ----------- |
|
||||
| 新角色的基本数据 | ✔️ |
|
||||
| 新版本角色/怪物基础数值 | ❔ |
|
||||
| 新角色的详细资料、名片等 | ❌ |
|
||||
| 新武器 | ✔️ |
|
||||
| 新材料 | ❇️ |
|
||||
| 新怪物 | ❇️ |
|
||||
| 新圣遗物 | / |
|
||||
| 新卡池 | ❇️ |
|
||||
| 新成就 | ✔️ |
|
||||
| 深境螺旋 | 💠 |
|
||||
| 幻想真境剧诗 | 💠 |
|
||||
| 幽境危战 | ✔️ |
|
||||
| 总体数据 | ✔️ |
|
||||
|
||||
✔️:已完成
|
||||
❌:未编写
|
||||
@@ -81,30 +71,21 @@ https://deepwiki.com/DGP-Studio/Snap.Hutao.Server
|
||||
https://github.com/wangdage12/Snap.Metadata
|
||||
|
||||
镜像:
|
||||

|
||||

|
||||
|
||||
http://server.wdg.cloudns.ch:3000/wdg1122/Snap.Metadata
|
||||
|
||||

|
||||
|
||||
http://serverjp.wdg.cloudns.ch:3000/wdg1122/Snap.Metadata
|
||||
http://htgit.wdg.cloudns.ch/wdg1122/Snap.Metadata
|
||||
|
||||
---
|
||||
|
||||
**临时API:**
|
||||
|
||||

|
||||

|
||||
|
||||
http://server.wdg.cloudns.ch:5222/
|
||||
https://htserver.wdg.cloudns.ch/api/
|
||||
|
||||
|
||||

|
||||
|
||||
http://serverjp.wdg.cloudns.ch:5222/
|
||||
|
||||
---
|
||||
|
||||
**临时资源站:**
|
||||
http://server.wdg.cloudns.ch:8007/
|
||||
|
||||
http://serverjp.wdg.cloudns.ch:8001/
|
||||
https://htserver.wdg.cloudns.ch/
|
||||
|
||||
@@ -193,6 +193,32 @@ internal sealed class ProcessFactory
|
||||
|
||||
public static void StartUsingShellExecuteRunAs(string fileName)
|
||||
{
|
||||
// 尝试从app包中启动
|
||||
try
|
||||
{
|
||||
global::System.Diagnostics.Process.Start(new global::System.Diagnostics.ProcessStartInfo
|
||||
{
|
||||
FileName = fileName,
|
||||
UseShellExecute = true,
|
||||
Verb = "runas",
|
||||
});
|
||||
}catch
|
||||
{
|
||||
// 如果失败且filename含有Snap.Hutao.Unpackaged,就直接用Snap.Hutao.exe重启
|
||||
if (fileName.Contains("Snap.Hutao.Unpackaged"))
|
||||
{
|
||||
string currentDirectory = Directory.GetCurrentDirectory();
|
||||
string unpackagedPath = Path.Combine(currentDirectory, "Snap.Hutao.exe");
|
||||
if (File.Exists(unpackagedPath))
|
||||
{
|
||||
fileName = unpackagedPath;
|
||||
}
|
||||
// 否则抛出异常
|
||||
else
|
||||
{
|
||||
throw;
|
||||
}
|
||||
// 重新尝试启动
|
||||
global::System.Diagnostics.Process.Start(new global::System.Diagnostics.ProcessStartInfo
|
||||
{
|
||||
FileName = fileName,
|
||||
@@ -201,3 +227,5 @@ internal sealed class ProcessFactory
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user