From f536e3c2f746b92653836f0a0fc70ecf02185426 Mon Sep 17 00:00:00 2001 From: Xevion Date: Mon, 23 Jun 2025 18:21:15 -0500 Subject: [PATCH] feat: add 'status' task for windows --- tasks/Taskfile_windows.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/Taskfile_windows.yml b/tasks/Taskfile_windows.yml index 8c66c89..3287058 100644 --- a/tasks/Taskfile_windows.yml +++ b/tasks/Taskfile_windows.yml @@ -35,10 +35,15 @@ tasks: # Start the service - cmd: pwsh -c 'sc start HATray' + status: + desc: "Show the status of the service" + cmds: + - cmd: sc query HATray + tail: desc: "Tail the log file" 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: desc: "Package the application as a MSI"