mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Merge remote-tracking branch 'origin/development' into development
This commit is contained in:
commit
43d8fda091
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -68,7 +68,7 @@ namespace Artemis.Core
|
|||||||
ShowProgressBar = true;
|
ShowProgressBar = true;
|
||||||
ProgressIndeterminate = true;
|
ProgressIndeterminate = true;
|
||||||
|
|
||||||
int result = await ExecuteFileAction.RunProcessAsync("powershell.exe", $"-File {file} {Arguments}", Elevate);
|
int result = await ExecuteFileAction.RunProcessAsync("powershell.exe", $"-ExecutionPolicy Unrestricted -File {file} {Arguments}", Elevate);
|
||||||
|
|
||||||
Status = $"PowerShell exited with code {result}";
|
Status = $"PowerShell exited with code {result}";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ namespace Artemis.Core
|
|||||||
ShowProgressBar = true;
|
ShowProgressBar = true;
|
||||||
ProgressIndeterminate = true;
|
ProgressIndeterminate = true;
|
||||||
|
|
||||||
int result = await ExecuteFileAction.RunProcessAsync("powershell.exe", $"-File {ScriptPath} {Arguments}", Elevate);
|
int result = await ExecuteFileAction.RunProcessAsync("powershell.exe", $"-ExecutionPolicy Unrestricted -File {ScriptPath} {Arguments}", Elevate);
|
||||||
|
|
||||||
Status = $"PowerShell exited with code {result}";
|
Status = $"PowerShell exited with code {result}";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user