From 57d4d92b09514479b9dea0bcc10df0201c1a42ff Mon Sep 17 00:00:00 2001 From: Miepee Date: Wed, 15 Nov 2023 14:35:47 +0100 Subject: [PATCH] Remove windows requirement from exportStringsBetter --- .../Scripts/Community Scripts/ExportAllStringsBetter.csx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UndertaleModTool/Scripts/Community Scripts/ExportAllStringsBetter.csx b/UndertaleModTool/Scripts/Community Scripts/ExportAllStringsBetter.csx index 8001f2e41..eedeb3867 100644 --- a/UndertaleModTool/Scripts/Community Scripts/ExportAllStringsBetter.csx +++ b/UndertaleModTool/Scripts/Community Scripts/ExportAllStringsBetter.csx @@ -1,6 +1,5 @@ using System.Linq; using System.Text; -using System.Windows.Forms; EnsureDataLoaded(); @@ -25,7 +24,7 @@ json.Length -= suffix.Length; json.Append("\r\n ]\r\n}"); File.WriteAllText(saveFileDialog.FileName, json.ToString()); -MessageBox.Show($"Successfully exported to\n{saveFileDialog.FileName}", "String export"); +ScriptMessage($"Successfully exported to\n{saveFileDialog.FileName}", "String export"); static string JsonifyString(string str) {