Skip to content

Commit

Permalink
Update SDVMP Generator (Code)
Browse files Browse the repository at this point in the history
Fixed up an issue with the SMAPI target version not saving the text from the textbox, rather the textbox itself. For implementation of #69

Co-Authored-By: Ryan Walpole <69621127+RyanWalpole@users.noreply.github.com>
  • Loading branch information
RWELabs and RyanWalpole committed Aug 16, 2022
1 parent 78fea68 commit 5bbfbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source-code/SDVMP Generator/SDVMP Generator/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ private void Operation2_DoWork(object sender, DoWorkEventArgs e)
{
string AppDataFolder = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
string tmp = AppDataFolder + @"\RWE Labs\SDV Mod Manager\tmp\pack\";
IniWrite.AppendText("$TARGETSMAPI=" + TargetSMAPIVersion);
IniWrite.AppendText("$TARGETSMAPI=" + TargetSMAPIVersion.Text);
IniWrite.SaveFile(tmp + "meta.ini", RichTextBoxStreamType.PlainText);

ZipFile.CreateFromDirectory(tmp, Properties.Settings.Default.tmpFN);
Expand Down

0 comments on commit 5bbfbe4

Please sign in to comment.