From 98142c56a1ef6f7341fff7a3aa7d4c27922998c2 Mon Sep 17 00:00:00 2001 From: Christian Morgenthaler Date: Fri, 9 May 2025 23:27:31 +0200 Subject: [PATCH] new argument when exporting via cli to set the export path --- TiaGitHandler/Program.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/TiaGitHandler/Program.cs b/TiaGitHandler/Program.cs index d3c2d9b5..4731fe9b 100644 --- a/TiaGitHandler/Program.cs +++ b/TiaGitHandler/Program.cs @@ -120,7 +120,7 @@ static void Main(string[] args) } exportPath = Path.GetDirectoryName(file); - exportPath = Path.GetFullPath(Path.Combine(exportPath, "..\\Export")); + exportPath = Path.GetFullPath(Path.Combine(exportPath, "..\\out\\Export")); } else if (res != null) @@ -129,7 +129,7 @@ static void Main(string[] args) prj = Projects.AttachProject(ver); exportPath = Path.GetDirectoryName(prj.ProjectFile); - exportPath = Path.GetFullPath(Path.Combine(exportPath, "..\\Export")); + exportPath = Path.GetFullPath(Path.Combine(exportPath, "..\\out\\Export")); } else { @@ -165,6 +165,9 @@ static void Main(string[] args) user = args[3]; if (args.Length > 4) password = args[4]; + if (args.Length > 5) + exportPath = args[5]; + } if (prj == null)