feat: add 'status' task for windows

This commit is contained in:
2025-06-23 18:21:15 -05:00
parent 821067765e
commit f536e3c2f7

View File

@@ -35,10 +35,15 @@ tasks:
# Start the service # Start the service
- cmd: pwsh -c 'sc start HATray' - cmd: pwsh -c 'sc start HATray'
status:
desc: "Show the status of the service"
cmds:
- cmd: sc query HATray
tail: tail:
desc: "Tail the log file" desc: "Tail the log file"
cmds: cmds:
- cmd: pwsh -c 'Get-Content -Path $env:USERPROFILE\\AppData\\Local\\HATray\\current.log -Tail 100 -Wait' - cmd: pwsh -c 'Get-Content -Path $env:LOCALAPPDATA\\HATray\\current.log -Tail 10 -Wait'
package: package:
desc: "Package the application as a MSI" desc: "Package the application as a MSI"