From ac32f4f2bd36f745f5a407b4f845ee24ab46f4c0 Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 13 Jul 2018 22:52:17 +0100 Subject: [PATCH] WinGui: Fix an issue that was causing the app to erroneously create a "HandBrake Team" folder under the users "Roaming" folder. This also now displays the correct directory under the Log "Data Dir" line. --- win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs index 325eacaa3..349af4785 100644 --- a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs +++ b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs @@ -115,7 +115,7 @@ namespace HandBrakeWPF.Utilities logHeader.AppendLine(string.Format("Screen: {0}x{1}", SystemInfo.ScreenBounds.Bounds.Width, SystemInfo.ScreenBounds.Bounds.Height)); logHeader.AppendLine(string.Format("Temp Dir: {0}", Path.GetTempPath())); logHeader.AppendLine(string.Format("Install Dir: {0}", Application.StartupPath)); - logHeader.AppendLine(string.Format("Data Dir: {0}\n", Application.UserAppDataPath)); + logHeader.AppendLine(string.Format("Data Dir: {0}\n", DirectoryUtilities.GetUserStoragePath(VersionHelper.IsNightly()))); logHeader.AppendLine("-------------------------------------------"); -- 2.40.0