]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fix an issue that was causing the app to erroneously create a "HandBrake...
authorsr55 <sr55.hb@outlook.com>
Fri, 13 Jul 2018 21:52:17 +0000 (22:52 +0100)
committersr55 <sr55.hb@outlook.com>
Fri, 13 Jul 2018 21:52:17 +0000 (22:52 +0100)
win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs

index 6ce55c8650d5c4454d22c5ec6afb05222474077d..f03d16f2cab94c49f07014e3fd7d5fe9fd74bec7 100644 (file)
@@ -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("-------------------------------------------");