DGP-Studio / Snap.Hutao

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

[Bug]: 无法通过win默认的卸载方式卸载该软件,同时软件内更新无法实现再次打开任然为旧版本。报错代码0X80073cfa。 #1830

Closed chendageshuonipangle closed 1 month ago

chendageshuonipangle commented 1 month ago

检查清单

Windows 版本

Windows 11 Version 23H2

Snap Hutao 版本

1.10.6.0

设备 ID

92071B170B8479C49C1C9A9F28E0E253

问题分类

安装和环境

发生了什么?

屏幕截图 2024-07-17 201035

你期望发生的行为?

至少可以卸载重装。

最后一步

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()
dgp-bot[bot] commented 1 month ago

由于资源有限,我们将不会考虑与旧版本客户端相关的问题。如果你认为该判定有误,请手动重新打开议题。 请更新至最新版本: 稳定版: 1.10.7 测试版: 2024.7.17.16

chendageshuonipangle commented 1 month ago

屏幕截图 2024-07-17 202103 已经试过了

Masterain98 commented 1 month ago

你的Windows怎么安装的?

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.