diff --git a/.arts/settings.json b/.arts/settings.json index 701b3b0..e249426 100644 --- a/.arts/settings.json +++ b/.arts/settings.json @@ -1,3 +1,5 @@ { - "diffEditor.renderSideBySide": false + "diffEditor.renderSideBySide": false, + "clawMode.mode": "editor", + "workbench.activityBar.location": "default" } \ No newline at end of file diff --git a/Directory.Packages.props b/Directory.Packages.props index d5a50d7..aa56451 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,40 +3,40 @@ true - + - - - + + + - - + + - - + + - + - - - - - - - - - - + + + + + + + + + + - - - - + + + + - - - + + + \ No newline at end of file diff --git a/LanMountainDesktop/Services/ResumableDownloadService.cs b/LanMountainDesktop/Services/ResumableDownloadService.cs index c267d84..4238926 100644 --- a/LanMountainDesktop/Services/ResumableDownloadService.cs +++ b/LanMountainDesktop/Services/ResumableDownloadService.cs @@ -292,7 +292,7 @@ public sealed class ResumableDownloadService ParallelDownload = useParallelDownload, MinimumSizeOfChunking = options.ParallelThresholdBytes, MaxTryAgainOnFailure = 3, - ResumeDownloadIfCan = true, + EnableAutoResumeDownload = true, ClearPackageOnCompletionWithFailure = false, FileExistPolicy = FileExistPolicy.Delete, DownloadFileExtension = ".part" diff --git a/LanMountainDesktop/Services/SentryCrashTelemetryService.cs b/LanMountainDesktop/Services/SentryCrashTelemetryService.cs index 9aac45e..c2b7ac8 100644 --- a/LanMountainDesktop/Services/SentryCrashTelemetryService.cs +++ b/LanMountainDesktop/Services/SentryCrashTelemetryService.cs @@ -337,12 +337,10 @@ public sealed class SentryCrashTelemetryService : IDisposable { scope.SetExtra("log_tail", logTail); scope.SetExtra("log_tail_line_count", logTail.Count(character => character == '\n') + 1); - var attachment = new Attachment( - AttachmentType.Default, - new ByteAttachmentContent(Encoding.UTF8.GetBytes(logTail)), + scope.AddAttachment( + Encoding.UTF8.GetBytes(logTail), "log-tail.txt", - "text/plain"); - scope.AddAttachment(attachment); + contentType: "text/plain"); } } }