mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Linux - fixed passed arguments
This commit is contained in:
parent
d9a60036d9
commit
8fc296a4c5
@ -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"));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user