Have manifest writer return the file path
This commit is contained in:
parent
ae23f621c2
commit
dc2eff4972
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue