37 lines
2.4 KiB
JSON
37 lines
2.4 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(npm install:*)",
|
|
"Bash(npx electron-builder:*)",
|
|
"Bash(ls:*)",
|
|
"Bash(npm start)",
|
|
"Bash(curl:*)",
|
|
"Bash(\"/c/Users/pc-valentin/Documents/GitHub/multi_render_blender/dist/win-unpacked/Multi Render Blender.exe\")",
|
|
"Bash(taskkill:*)",
|
|
"Bash(powershell -Command \"Get-Process | Where-Object {$_Path -like ''*multi_render*'' -or $_Path -like ''*Multi Render*''} | Stop-Process -Force\")",
|
|
"Bash(powershell -Command:*)",
|
|
"Bash(powershell.exe -NoProfile -Command \"Get-Process -Name ''*electron*'',''*Multi*'',''*blender*'' -ErrorAction SilentlyContinue | Stop-Process -Force; Start-Sleep -Seconds 2; Remove-Item -Recurse -Force ''C:\\\\Users\\\\pc-valentin\\\\Documents\\\\GitHub\\\\multi_render_blender\\\\dist''; Write-Host ''Cleaned''\")",
|
|
"Bash(powershell.exe -NoProfile -Command \"Get-Process | Where-Object { $_.ProcessName -match ''electron|Blender|Multi'' } | Select-Object Id, ProcessName | Format-Table\")",
|
|
"Bash(tasklist:*)",
|
|
"Bash(\"/c/Users/pc-valentin/Documents/GitHub/multi_render_blender/dist2/win-unpacked/Multi Render Blender.exe\")",
|
|
"Bash(npm run build:*)",
|
|
"WebFetch(domain:git.sorlinv.fr)",
|
|
"Bash(zip:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git tag:*)",
|
|
"Bash(node:*)",
|
|
"Bash(chmod +x /home/valentin/Documents/GitHub/multi_render_blender/release.sh)",
|
|
"Bash(git rm --cached .env)",
|
|
"Bash(git status -u)",
|
|
"Bash(git push)",
|
|
"Bash(git push origin v1.2.0)",
|
|
"Bash(python3 -c \"import json,sys; data=json.load\\(sys.stdin\\); [print\\(f''{t[\"\"name\"\"]} -> {t[\"\"id\"\"][:12]}''\\) for t in data]\")",
|
|
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(f''Release creee: id={d.get\\(\"\"id\"\", \"\"ERREUR\"\"\\)} tag={d.get\\(\"\"tag_name\"\", \"\"?\"\"\\)}''\\); print\\(d.get\\(''message'',''''\\)\\) if ''message'' in d else None\")",
|
|
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(f'' OK: {d.get\\(\"\"name\"\",\"\"?\"\"\\)} \\({d.get\\(\"\"size\"\",0\\)//1024//1024}MB\\)''\\)\")",
|
|
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(f''OK: {d.get\\(\"\"name\"\",d.get\\(\"\"message\"\",\"\"?\"\"\\)\\)} size={d.get\\(\"\"size\"\",0\\)//1024//1024}MB''\\)\")",
|
|
"Bash(python3 -c \":*)"
|
|
]
|
|
}
|
|
}
|