diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteService.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteService.cs index 2abc4b4c..59946a3d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteService.cs @@ -147,7 +147,7 @@ internal sealed partial class DailyNoteService : IDailyNoteService, IRecipient(); - string updatetTargetPath = runtimeOptions.GetDataFolderUpdateCacheFolderFile(UpdaterFilename); + string updaterTargetPath = runtimeOptions.GetDataFolderUpdateCacheFolderFile(UpdaterFilename); Uri updaterSourceUri = $"ms-appx:///{UpdaterFilename}".ToUri(); StorageFile updaterFile = await StorageFile.GetFileFromApplicationUriAsync(updaterSourceUri); - await updaterFile.OverwriteCopyAsync(updatetTargetPath).ConfigureAwait(false); + await updaterFile.OverwriteCopyAsync(updaterTargetPath).ConfigureAwait(false); string commandLine = new CommandLineBuilder() .Append("--package-path", GetUpdatePackagePath(runtimeOptions)) @@ -89,7 +89,7 @@ internal sealed partial class UpdateService : IUpdateService { Arguments = commandLine, WindowStyle = ProcessWindowStyle.Minimized, - FileName = updatetTargetPath, + FileName = updaterTargetPath, UseShellExecute = true, }); }