diff --git a/UWRandomizerWPF/MainWindow.xaml.cs b/UWRandomizerWPF/MainWindow.xaml.cs index 9b1101e..cd03ea7 100644 --- a/UWRandomizerWPF/MainWindow.xaml.cs +++ b/UWRandomizerWPF/MainWindow.xaml.cs @@ -77,8 +77,9 @@ private void Btn_ExportSpoilerLog_Click(object sender, RoutedEventArgs e) } else { - File.WriteAllText(log, "./UWspoilerlog.txt"); - AddMsgToLog($"""Saved spoiler log to {System.IO.Path.Join(Directory.GetCurrentDirectory(), "./UWspoilerlog.txt")}"""); + var tempname = "UWspoilerlog.txt"; + File.WriteAllText(log, tempname); + AddMsgToLog($"Saved spoiler log to {System.IO.Path.Join(Directory.GetCurrentDirectory(), tempname)}"); } } diff --git a/UWRandomizerWPF/UWRandomizerWPF.csproj b/UWRandomizerWPF/UWRandomizerWPF.csproj index 4f40051..9370e8a 100644 --- a/UWRandomizerWPF/UWRandomizerWPF.csproj +++ b/UWRandomizerWPF/UWRandomizerWPF.csproj @@ -6,7 +6,7 @@ enable true 0.1.0 - 11 + 10 true true win-x64