From 8fc296a4c511dbd90096af6d7d994a59a0983777 Mon Sep 17 00:00:00 2001 From: Diogo Trindade Date: Mon, 27 Mar 2023 00:07:39 +0100 Subject: [PATCH] Linux - fixed passed arguments --- src/Artemis.UI.Linux/ApplicationStateManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Artemis.UI.Linux/ApplicationStateManager.cs b/src/Artemis.UI.Linux/ApplicationStateManager.cs index 41b999a65..e580f5fdf 100644 --- a/src/Artemis.UI.Linux/ApplicationStateManager.cs +++ b/src/Artemis.UI.Linux/ApplicationStateManager.cs @@ -150,7 +150,7 @@ public class ApplicationStateManager string script = Path.Combine(Constants.UpdatingFolder, "installing", "Scripts", "update.sh"); string source = $"\"{Path.Combine(Constants.UpdatingFolder, "installing")}\""; string destination = $"\"{Constants.ApplicationFolder}\""; - string args = argsList.Any() ? $"\"{string.Join(' ', argsList)}\"" : ""; + string args = argsList.Any() ? string.Join(' ', argsList) : ""; RunScriptWithOutputFile(script, $"{source} {destination} {args}", Path.Combine(Constants.DataFolder, "update-log.txt"));