mirror of
https://github.com/BubbaGumpShrump/AutoTrackR2.git
synced 2025-06-19 13:09:07 +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
|
# If file doesn't exist, create it with headers
|
||||||
$killData | Export-Csv -Path $csvPath -NoTypeInformation
|
$killData | Export-Csv -Path $csvPath -NoTypeInformation
|
||||||
} else {
|
} else {
|
||||||
# Append data to the existing file
|
# Append data to the existing file without adding headers
|
||||||
$killData | Export-Csv -Path $csvPath -Append -NoTypeInformation
|
$killData | ConvertTo-Csv -NoTypeInformation | Select-Object -Skip 1 | Out-File -Append -Encoding utf8 -FilePath $csvPath
|
||||||
}
|
}
|
||||||
|
|
||||||
$sleeptimer = 10
|
$sleeptimer = 10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue