Have manifest writer return the file path

pull/33/head
Pat Hartl 2023-11-13 23:07:50 -06:00
parent ae23f621c2
commit dc2eff4972
1 changed files with 3 additions and 1 deletions

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)