mirror of
https://github.com/BubbaGumpShrump/AutoTrackR2.git
synced 2025-05-22 08:45:30 +00:00
CSV fix
This commit is contained in:
parent
a24607d7fe
commit
bf49ee3a6d
1 changed files with 2 additions and 2 deletions
|
@ -338,8 +338,8 @@ function Read-LogEntry {
|
|||
# If file doesn't exist, create it with headers
|
||||
$killData | Export-Csv -Path $csvPath -NoTypeInformation
|
||||
} else {
|
||||
# Append data to the existing file
|
||||
$killData | Export-Csv -Path $csvPath -Append -NoTypeInformation
|
||||
# Append data to the existing file without adding headers
|
||||
$killData | ConvertTo-Csv -NoTypeInformation | Select-Object -Skip 1 | Out-File -Append -Encoding utf8 -FilePath $csvPath
|
||||
}
|
||||
|
||||
$sleeptimer = 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue