This commit is contained in:
BubbaGumpShrump 2024-12-05 01:28:25 -05:00
parent d1558ee1a4
commit 53d552a95e
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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 {