Fixed a bug where .txt files would save in the wrong location upon PCK extraction

This commit is contained in:
MattNL
2022-10-24 22:39:48 -04:00
parent a3f8ff03c5
commit 6e73d857f4

View File

@@ -1131,7 +1131,7 @@ namespace PckStudio
metaData += $"{entry.Item1}: {entry.Item2}{Environment.NewLine}";
}
File.WriteAllText(sfd.SelectedPath + @"\" + Path.GetFileNameWithoutExtension(file.filepath) + ".txt", metaData);
File.WriteAllText(sfd.SelectedPath + @"\" + file.filepath + ".txt", metaData);
}
}
}