Skip to content

Commit

Permalink
Merge pull request UnderminersTeam#1532 from Miepee/stringsbetter
Browse files Browse the repository at this point in the history
Remove windows requirement from exportStringsBetter
  • Loading branch information
colinator27 authored Dec 21, 2023
2 parents 4bfec98 + 57d4d92 commit 2fd7fd0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Linq;
using System.Text;
using System.Windows.Forms;

EnsureDataLoaded();

Expand All @@ -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)
{
Expand Down

0 comments on commit 2fd7fd0

Please sign in to comment.