mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 21:38:38 +00:00
Fix args not being passed on correctly
This commit is contained in:
parent
494c5b4054
commit
173b04101a
@ -102,7 +102,7 @@ public class ApplicationStateManager
|
||||
string script = Path.Combine(Constants.UpdatingFolder, "installing", "scripts", "update.ps1");
|
||||
string source = $"-sourceDirectory \"'{Path.Combine(Constants.UpdatingFolder, "installing")}'\"";
|
||||
string destination = $"-destinationDirectory \"'{Constants.ApplicationFolder}'\"";
|
||||
string args = argsList.Any() ? $"-artemisArgs \"'{string.Join(',', argsList)}'\"" : "";
|
||||
string args = argsList.Any() ? $"-artemisArgs \"'{string.Join(' ', argsList)}'\"" : "";
|
||||
|
||||
RunScriptWithOutputFile(script, $"{source} {destination} {args}", Path.Combine(Constants.DataFolder, "update-log.txt"));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user