修复link_lite.json bug
This commit is contained in:
1 parent
8dec5359bd
commit
68e3cf372f
7 files changed
+251
-241
No files matched your search
@@ -94,7 +94,8 @@ if (-not (Test-Path $jsonDir)) {
|
||||
New-Item -ItemType Directory -Path $jsonDir | Out-Null
|
||||
}
|
||||
|
||||
# Write to file
|
||||
[System.IO.File]::WriteAllText($jsonPath, $json, [System.Text.Encoding]::UTF8)
|
||||
# Write to file without BOM
|
||||
$utf8NoBom = New-Object System.Text.UTF8Encoding $false
|
||||
[System.IO.File]::WriteAllText($jsonPath, $json, $utf8NoBom)
|
||||
|
||||
Write-Host "Successfully generated $jsonPath" -ForegroundColor Green
|
||||
Reference in new issue
Block a user