Improved list-os-release.ps1

This commit is contained in:
Markus Fleschutz 2021-01-02 09:50:21 +00:00
parent 4768ad946d
commit 40aad7fe73

View File

@ -8,7 +8,7 @@
try {
write-progress "Reading OS_IPFS_hashes.csv"
$PathToRepo = (get-item $MyInvocation.MyCommand.Path).directory.parent
$PathToRepo = "$PSScriptRoot/.."
$PathToCsvFile = "$PathToRepo/Data/os-release.csv"
invoke-webRequest -URI "https://fleschutz.droppages.com/downloads/OS_IPFS_hashes.csv" -outFile "$PathToCsvFile"
$Table = import-csv "$PathToCsvFile"