15 lines
873 B
JSON
15 lines
873 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"PowerShell(Get-Command pdftotext, pdftoppm, gswin64c -ErrorAction SilentlyContinue)",
|
|
"PowerShell(Get-Command pdftotext -ErrorAction SilentlyContinue)",
|
|
"PowerShell(Get-Command python -ErrorAction SilentlyContinue)",
|
|
"PowerShell(Write-Output \"py:\"; \\(Get-Command py -ErrorAction SilentlyContinue\\).Source; Write-Output \"python:\"; \\(Get-Command python -ErrorAction SilentlyContinue\\).Source; Write-Output \"pdftotext:\"; \\(Get-Command pdftotext -ErrorAction SilentlyContinue\\).Source)",
|
|
"PowerShell(py -c \"import pypdf; print\\(pypdf.__version__\\)\" 2>&1)",
|
|
"PowerShell(py -c \"import pdfplumber; print\\(pdfplumber.__version__\\)\" 2>&1)",
|
|
"PowerShell(py -c \"import fitz; print\\(fitz.__version__\\)\" 2>&1)",
|
|
"PowerShell(py -m pip install --quiet pymupdf 2>&1)"
|
|
]
|
|
}
|
|
}
|