Skip to content

下载更新后无法正常应用更新,并且会导致应用崩溃 #208

@yihangzhou594-source

Description

@yihangzhou594-source
Checkboxes

在提问之前...

  • 我不知道这个项目是独立的通用GUI项目,并且认为在这里反馈资源问题(如M9A)可以得到答复
  • 我理解 Issue 是用于反馈和解决问题的,而非吐槽评论区,将尽可能提供更多信息帮助问题解决
  • 我填写了简短且清晰明确的标题,以便开发者在翻阅 Issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等
  • 我使用的是当前更新版本的最新版,且已查看版本发布至今和 Pull Requests 中尚未发布的更新内容,并未提及该 Bug 已被修复的情况
  • 我已检查了置顶议题(Pinned Issue)(公告)、活跃议题(Open Issue)、已关闭议题(Closed Issue),确认我的问题未被提及

问题描述

A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Failed to copy file after 5 attempts: C:\Users\12113\Downloads\MaaNTE-win-x86_64-v0.0.4-MFAA\temp\temp_res\resource_v1.0.0-beta.1_extracted\MaaNTE.exe -> C:\Users\12113\Downloads\MaaNTE-win-x86_64-v0.0.4-MFAA\MaaNTE.exe)
Failed to copy file after 5 attempts: C:\Users\12113\Downloads\MaaNTE-win-x86_64-v0.0.4-MFAA\temp\temp_res\resource_v1.0.0-beta.1_extracted\MaaNTE.exe -> C:\Users\12113\Downloads\MaaNTE-win-x86_64-v0.0.4-MFAA\MaaNTE.exe

System.IO.IOException: Failed to copy file after 5 attempts: C:\Users\12113\Downloads\MaaNTE-win-x86_64-v0.0.4-MFAA\temp\temp_res\resource_v1.0.0-beta.1_extracted\MaaNTE.exe -> C:\Users\12113\Downloads\MaaNTE-win-x86_64-v0.0.4-MFAA\MaaNTE.exe
at MFAAvalonia.Helper.VersionChecker.CopyUpdatePayload(String sourceRoot, ProgressBar progressBar, Boolean saveAnnouncement, CancellationToken cancellationToken, Boolean copyDataFiles, Boolean copyInstallFiles, String installTargetRootOverride, Boolean continueOnCopyFailure, Boolean skipRunningExecutable)
at MFAAvalonia.Helper.VersionChecker.UpdateResource(Boolean isGithub, Boolean closeDialog, Boolean noDialog, Action action, String currentVersion, String localPackagePath)

Version

0.0.4

日志和配置文件

log-20260517.log

maafw.log

配置信息

win11

截图或录屏

No response

还有别的吗?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions