11 lines
763 B
JSON
11 lines
763 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(curl -s http://localhost:5000/api/general-ledger/accounts -H \"Authorization: Bearer test\")",
|
|
"PowerShell(Get-NetTCPConnection -LocalPort 5000 -State Listen | Select-Object -ExpandProperty OwningProcess | ForEach-Object { Stop-Process -Id $_ -Force }; Start-Sleep -Seconds 1; Start-Process -FilePath \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" -ArgumentList \"server.js\" -WorkingDirectory \"d:\\\\Project\\\\backend\" -WindowStyle Hidden; Start-Sleep -Seconds 3; Get-NetTCPConnection -LocalPort 5000 -State Listen | Select-Object -ExpandProperty OwningProcess)",
|
|
"Bash(not exist *)",
|
|
"PowerShell(New-Item -ItemType Directory -Force \"d:\\\\Project\\\\backend\\\\public\\\\docs\")"
|
|
]
|
|
}
|
|
}
|