From 2feae6ddb930b8aec33c3fcbd0abe95c2ccc7036 Mon Sep 17 00:00:00 2001 From: peaceshi Date: Mon, 20 Feb 2023 18:13:05 +0800 Subject: [PATCH] open export dir. --- src/Export.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Export.cs b/src/Export.cs index 043a3c0..f615f65 100644 --- a/src/Export.cs +++ b/src/Export.cs @@ -1,4 +1,5 @@ -using System.Net; +using System.Diagnostics; +using System.Net; using System.Text; using System.Text.Json; using System.Text.Json.Serialization; @@ -141,6 +142,7 @@ public static class Export { var path = Path.GetFullPath($"achievement-{DateTime.Now:yyyyMMddHHmmss}.csv"); File.WriteAllText(path, $"\uFEFF{string.Join("\n", output)}"); Console.WriteLine(App.ExportToFileSuccess, path); + Process.Start("explorer.exe", $"{Path.GetDirectoryName(path)}"); } private static void ToXunkong(AchievementAllDataNotify data) {