15 lines
778 B
JSON
15 lines
778 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(node --check 163_music_downloader.js)",
|
|
"Bash(ffmpeg -version)",
|
|
"Bash(ffprobe -version)",
|
|
"PowerShell($c = Get-Command ffmpeg -ErrorAction SilentlyContinue; if \\($c\\) { Write-Output $c.Source; & ffmpeg -version | Select-Object -First 1 } else { Write-Output \"ffmpeg NOT FOUND\" })",
|
|
"PowerShell($paths = @\\(\"C:\\\\ffmpeg\",\"C:\\\\Program Files\\\\ffmpeg\",\"$env:LOCALAPPDATA\\\\Microsoft\\\\WinGet\",\"$env:USERPROFILE\\\\scoop\\\\apps\\\\ffmpeg\"\\); Get-ChildItem -Path C:\\\\ -Filter ffmpeg.exe -Recurse -ErrorAction SilentlyContinue -Depth 4 2>$null | Select-Object -First 5 -ExpandProperty FullName)",
|
|
"Bash(node *)",
|
|
"Bash(echo \"exit: $?\")",
|
|
"Bash(ffprobe *)"
|
|
]
|
|
}
|
|
}
|