1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 21:33:22 +08:00

Use Logger.Storage rather than locally querying

This commit is contained in:
Dean Herbert 2023-11-28 17:59:21 +09:00
parent 4c2819dbc2
commit 51de98f341
No known key found for this signature in database

View File

@ -7,6 +7,7 @@ using osu.Framework.Allocation;
using osu.Framework.Extensions;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Framework.Logging;
using osu.Framework.Platform;
using osu.Framework.Screens;
using osu.Game.Configuration;
@ -79,7 +80,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
Keywords = new[] { @"bug", "report", "logs", "files" },
Action = () =>
{
var logStorage = storage.GetStorageForDirectory(@"logs");
var logStorage = Logger.Storage;
const string archive_filename = "exports/compressed-logs.zip";