1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 21:38:38 +00:00

Linux - fixed passed arguments

This commit is contained in:
Diogo Trindade 2023-03-27 00:07:39 +01:00
parent d9a60036d9
commit 8fc296a4c5

View File

@ -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"));