From dc2eff497249708f37425a34126776c3149e9dfa Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Mon, 13 Nov 2023 23:07:50 -0600 Subject: [PATCH] Have manifest writer return the file path --- LANCommander.SDK/Helpers/ManifestHelper.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LANCommander.SDK/Helpers/ManifestHelper.cs b/LANCommander.SDK/Helpers/ManifestHelper.cs index 4c09f16..9f87cef 100644 --- a/LANCommander.SDK/Helpers/ManifestHelper.cs +++ b/LANCommander.SDK/Helpers/ManifestHelper.cs @@ -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)