From 8421eb9c1a8ce6d41b70471f63f9643c20bd1140 Mon Sep 17 00:00:00 2001
From: Karl Clinckspoor <30571394+KarlClinckspoor@users.noreply.github.com>
Date: Sat, 18 Mar 2023 22:23:46 -0300
Subject: [PATCH] Removed c# 11 reference and fixed only instance of string
literal.
---
UWRandomizerWPF/MainWindow.xaml.cs | 5 +++--
UWRandomizerWPF/UWRandomizerWPF.csproj | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
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