Hide patreon link on Steam, fix YamlDotNet 9.1.0 parse error, update patrons list.

This commit is contained in:
Pieter-Jan Briers
2020-11-27 16:24:19 +01:00
parent 71661974b8
commit 9cd297899d
5 changed files with 107 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
param([string]$csvPath)
# Dumps Patreon's CSV download into a JSON file the game reads.
# Dumps Patreon's CSV download into a YAML file the game reads.
# Have to trim patron names because apparently Patreon doesn't which is quite ridiculous.
Get-content $csvPath | ConvertFrom-Csv -Delimiter "," | select @{l="Name";e={$_.Name.Trim()}},Tier | ConvertTo-Json -Compress
Get-content $csvPath | ConvertFrom-Csv -Delimiter "," | select @{l="Name";e={$_.Name.Trim()}},Tier | ConvertTo-Yaml