Files

14 lines
680 B
PowerShell

$ErrorActionPreference = 'Stop'
$cacheRoot = "$env:LOCALAPPDATA\TectonicProject\Tectonic\cache"
$data = Get-ChildItem (Join-Path $cacheRoot 'bundles\data') -Directory | Select-Object -First 1
Write-Output "=== [P1] full fetched-file inventory (data\$($data.Name)) ==="
$files = Get-ChildItem $data.FullName -File
"count: $($files.Count)"
$files | Sort-Object Name | ForEach-Object { $_.Name } | Out-String -Width 120 | Write-Output
Write-Output '=== [P2] fonttext.cfg (cached) ==='
Get-Content (Join-Path $data.FullName 'fonttext.cfg') -Raw
Write-Output ''
Write-Output '=== [P3] fontmath.cfg (cached) ==='
Get-Content (Join-Path $data.FullName 'fontmath.cfg') -Raw