GoldenPotato137 / PotatoVN

一款Visual Novel管理软件
https://potatovn.net/
Apache License 2.0
629 stars 31 forks source link

[BUG] 这里应该填标题 #161

Open Shihuajiuyu opened 7 months ago

Shihuajiuyu commented 7 months ago

Bug描述 请简单描述一下什么地方bug了。

Bug复现 按照以下步骤可以产生这个bug:

  1. 编辑游玩时长
  2. 保存 3.出现错误弹窗

截图 如果方便的话,提供截图可以让我们更快的修复bug哦~

image

System.IO.IOException: 无法加密指定的文件。 : 'F:\gal\Café Stella and the Reaper's Butterflies.PotatoVN\39806.jpg' at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at GalgameManager.Services.GalgameCollectionService.SaveMetaAsync(Galgame galgame) at GalgameManager.Services.GalgameCollectionService.SaveGalgamesAsync(Galgame galgame) at GalgameManager.ViewModels.PlayedTimeViewModel.Edit() at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask) at System.Threading.Tasks.Task.<>c.b128_0(Object state) at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b0() 系统信息

GoldenPotato137 commented 7 months ago

可以麻烦你以管理员权限运行PVN重新执行上述操作试试看吗?我怀疑是一些奇怪的权限的问题。