DGP-Studio / Snap.Hutao

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

[Bug]: 无法卸载 #1831

Closed chendageshuonipangle closed 1 month ago

chendageshuonipangle commented 1 month ago

检查清单

Windows 版本

Windows 11 Version 23H2

Snap Hutao 版本

1.10.7.0

设备 ID

92071B170B8479C49C1C9A9F28E0E253

问题分类

安装和环境

发生了什么?

屏幕截图 2024-07-17 211654

你期望发生的行为?

可以删除软件

最后一步

dgp-bot[bot] commented 1 month ago

device_id: 92071B170B8479C49C1C9A9F28E0E253

Exception Data:
----------------------------------------
System.IO.IOException: The process cannot access the file 'C:\Users\28296\Documents\Hutao\UpdateCache\Snap.Hutao.Deployment.exe' because it is being used by another process.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.File.Create(String path)
   at Snap.Hutao.Extension.StorageFileExtension.OverwriteCopyAsync(StorageFile file, String targetFile) in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\Extension\StorageFileExtension.cs:line 15
   at Snap.Hutao.Service.Update.UpdateService.LaunchUpdaterAsync() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 98
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 102
   at Snap.Hutao.ViewModel.TitleViewModel.InitializeOverrideAsync() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 61
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.InitializeAsync() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 52
   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()
github-actions[bot] commented 1 month ago

Probable Similar Topics

  1. 75% #50
  2. 50% #1601
  3. 50% #505
  4. 50% #497
  5. 50% #371
  6. 50% #328
  7. 50% #79
chendageshuonipangle commented 1 month ago

是无法卸载呀

Lightczx commented 1 month ago

相比之下你是怎么装上的

chendageshuonipangle commented 1 month ago

安装使用的是 ![Uploading 屏幕截图 2024-07-17 213531.png…]()

chendageshuonipangle commented 1 month ago

就是这个项目给的一键安装的文件

Lightczx commented 1 month ago

图片传完了再发评论

1846333564 commented 1 month ago

我也遇到了这个问题,并且也无法用任何方式安装最新版本,只能停留在1.10.6.0版本。而且卸载同样的报错。

chendageshuonipangle commented 1 month ago

最后将windows重置后得以解决,似乎是windows自带的wd异常会引起该工具箱异常。

github-actions[bot] commented 3 weeks 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.