mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Added version info to created meta file
This commit is contained in:
parent
5bc6f44aeb
commit
758df21d91
@ -321,7 +321,9 @@ namespace Wabbajack.Lib
|
|||||||
{
|
{
|
||||||
var modInfo = md5Response[0].mod;
|
var modInfo = md5Response[0].mod;
|
||||||
metaString += $"modID={modInfo.mod_id}\n" +
|
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);
|
File.WriteAllText(f+".meta",metaString, Encoding.UTF8);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user