{ "version": "2.0.0", "tasks": [ { "label": "build", "detail": "Bygger en körbar tdarr-tray till ./build/", "type": "shell", "command": "mkdir -p build && install -m 0755 tdarr-tray.py build/tdarr-tray && echo '-> build/tdarr-tray'", "group": { "kind": "build", "isDefault": true }, "problemMatcher": [] }, { "label": "Installera + autostart", "type": "shell", "command": "./install.sh", "options": { "cwd": "${workspaceFolder}" }, "problemMatcher": [] }, { "label": "Kör (förgrund)", "type": "shell", "command": "python3 tdarr-tray.py", "isBackground": true, "problemMatcher": [] }, { "label": "Status (--check)", "type": "shell", "command": "python3 tdarr-tray.py --check", "group": "test", "problemMatcher": [] }, { "label": "Stoppa tray", "type": "shell", "command": "pkill -f tdarr-tray && echo stoppad || echo 'ingen instans'", "problemMatcher": [] } ] }