Have manifest writer return the file path

This commit is contained in:
Pat Hartl 2023-11-13 23:07:50 -06:00
parent ae23f621c2
commit dc2eff4972

View file

@ -30,7 +30,7 @@ namespace LANCommander.SDK.Helpers
return manifest;
}
public static void Write(GameManifest manifest, string installDirectory)
public static string Write(GameManifest manifest, string installDirectory)
{
var destination = GetPath(installDirectory);
@ -47,6 +47,8 @@ namespace LANCommander.SDK.Helpers
Logger?.LogTrace("Writing manifest file");
File.WriteAllText(destination, yaml);
return destination;
}
public static string GetPath(string installDirectory)