Added version info to created meta file

This commit is contained in:
erri120 2019-12-13 15:39:46 +01:00
parent 5bc6f44aeb
commit 758df21d91
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -321,7 +321,9 @@ namespace Wabbajack.Lib
{
var modInfo = md5Response[0].mod;
metaString += $"modID={modInfo.mod_id}\n" +
$"modName={modInfo.name}\nfileID={md5Response[0].file_details.file_id}";
$"modName={modInfo.name}\n" +
$"fileID={md5Response[0].file_details.file_id}\n" +
$"version={md5Response[0].file_details.version}\n";
File.WriteAllText(f+".meta",metaString, Encoding.UTF8);
}
else