mirror of
https://github.com/BubbaGumpShrump/AutoTrackR2.git
synced 2025-05-18 07:05:29 +00:00
bug
This commit is contained in:
parent
d1558ee1a4
commit
53d552a95e
2 changed files with 2 additions and 2 deletions
AutoTrackR2
|
@ -74,7 +74,7 @@ namespace AutoTrackR2
|
||||||
ProcessStartInfo psi = new ProcessStartInfo
|
ProcessStartInfo psi = new ProcessStartInfo
|
||||||
{
|
{
|
||||||
FileName = "powershell.exe",
|
FileName = "powershell.exe",
|
||||||
Arguments = $"-NoProfile -ExecutionPolicy Bypass -File {scriptPath}",
|
Arguments = $"-NoProfile -ExecutionPolicy Bypass -File \"{scriptPath}\"",
|
||||||
WorkingDirectory = AppDomain.CurrentDomain.BaseDirectory,
|
WorkingDirectory = AppDomain.CurrentDomain.BaseDirectory,
|
||||||
RedirectStandardOutput = true,
|
RedirectStandardOutput = true,
|
||||||
RedirectStandardError = true,
|
RedirectStandardError = true,
|
||||||
|
|
|
@ -295,7 +295,7 @@ function Read-LogEntry {
|
||||||
$headers = @{
|
$headers = @{
|
||||||
"Authorization" = "Bearer $apiToken"
|
"Authorization" = "Bearer $apiToken"
|
||||||
"Content-Type" = "application/json"
|
"Content-Type" = "application/json"
|
||||||
"User-Agent" = "TEST-PS"
|
"User-Agent" = "AutoTrackR2"
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue