DGP-Studio / Snap.Hutao

实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
https://hut.ao
MIT License
4.06k stars 192 forks source link

[Bug]: 无法打开胡桃工具箱 #1792

Closed Yzh00-c closed 4 months ago

Yzh00-c commented 4 months ago

检查清单

Windows 版本

版本 23H2(OS 内部版本 22631.3737)

Snap Hutao 版本

1.10.5.0

设备 ID

C7ECC37FB7BB9287639F12724289A998

问题分类

安装和环境

发生了什么?

在上一个胡桃工具箱版本中可以正常启动,今天更新了新版本后,无法正常启动,启动工具箱后无响应,并在大约三十秒左右后结束程序进程

你期望发生的行为?

希望可以正常启动胡桃工具箱

最后一步

github-actions[bot] commented 4 months ago

Probable Similar Topics

  1. 100% #519
  2. 56% #1348
dgp-bot[bot] commented 4 months ago

device_id: C7ECC37FB7BB9287639F12724289A998

Exception Data:
----------------------------------------
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\yzh\game\Genshin Impact\Genshin Impact Game\config.ini'.
   at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at Snap.Hutao.Service.Game.Configuration.GameConfigurationFileService.Restore(String destination) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\Game\Configuration\GameConfigurationFileService.cs:line 31
   at Snap.Hutao.Service.Game.Configuration.GameChannelOptionsService.GetChannelOptions() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\Game\Configuration\GameChannelOptionsService.cs:line 30
   at Snap.Hutao.Service.Game.GameServiceFacade.GetChannelOptions() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\Game\GameServiceFacade.cs:line 41
   at Snap.Hutao.ViewModel.Game.LaunchGameShared.GetCurrentLaunchSchemeFromConfigFile() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameShared.cs:line 30
   at Snap.Hutao.ViewModel.Game.LaunchGameViewModelSlim.LoadAsync() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameViewModelSlim.cs:line 45
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\yzh\game\Genshin Impact\Genshin Impact Game\config.ini'.
   at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at Snap.Hutao.Service.Game.Configuration.GameConfigurationFileService.Restore(String destination) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\Game\Configuration\GameConfigurationFileService.cs:line 31
   at Snap.Hutao.Service.Game.Configuration.GameChannelOptionsService.GetChannelOptions() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\Game\Configuration\GameChannelOptionsService.cs:line 30
   at Snap.Hutao.Service.Game.GameServiceFacade.GetChannelOptions() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\Game\GameServiceFacade.cs:line 41
   at Snap.Hutao.ViewModel.Game.LaunchGameShared.GetCurrentLaunchSchemeFromConfigFile() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameShared.cs:line 30
   at Snap.Hutao.ViewModel.Game.LaunchGameViewModelSlim.LoadAsync() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameViewModelSlim.cs:line 45
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\yzh\game\Genshin Impact\Genshin Impact Game\config.ini'.
   at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at Snap.Hutao.Service.Game.Configuration.GameConfigurationFileService.Restore(String destination) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\Game\Configuration\GameConfigurationFileService.cs:line 31
   at Snap.Hutao.Service.Game.Configuration.GameChannelOptionsService.GetChannelOptions() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\Game\Configuration\GameChannelOptionsService.cs:line 30
   at Snap.Hutao.Service.Game.GameServiceFacade.GetChannelOptions() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\Service\Game\GameServiceFacade.cs:line 41
   at Snap.Hutao.ViewModel.Game.LaunchGameShared.GetCurrentLaunchSchemeFromConfigFile() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameShared.cs:line 30
   at Snap.Hutao.ViewModel.Game.LaunchGameViewModelSlim.LoadAsync() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameViewModelSlim.cs:line 45
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
dgp-bot[bot] commented 4 months ago

d3fbf35f34e3567883f89d446964b100fe876c23 已修复此问题

dgp-bot[bot] commented 4 months ago

包含解决该问题的程序版本 1.10.6 已发布。

github-actions[bot] commented 3 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.